问题
<body>
<video width="320" height="240" controls autoplay>
<object data="movie.mp4" width="320" height="240">
<embed width="320" height="240" src="Priyanka Chopra - Exotic ft. Pitbull - YouTube.MP4">
</object>
</video>
</body>
I am trying to display a video in my php web page but it is not playing it....the video is present on folder but not displaying it...above is the code that i tried.....can anyone help me ??
回答1:
Video:
<video width="320" height="240" controls autoplay>
<source src="Priyanka Chopra - Exotic ft. Pitbull - YouTube.MP4" type="video/mp4">
Sorry, your browser doesn't support the video element.
</video>
Audio:
<audio controls>
<source src="horse.mp3" type="audio/mpeg">
Sorry, your browser does not support the audio element.
</audio>
来源:https://stackoverflow.com/questions/22879392/how-to-display-video-in-a-php-page