0
display Iphone video using Html5
Anyone know how ?
12 Réponses
+ 3
Regardless, I downloaded locally from quick time: view code now:
<!DOCTYPE html>
<html>
<body>
<video controls>
<source src="ScreenRecording_09-30-2017 12:05.mov" type="video/mov">
<source src="ScreenRecording_09-30-2017 12:05.mv4" type="video/mv4">
<source src="images/ScreenRecording_09-30-2017 12:05.mov" type="video/mov">
<source src="ScreenRecording_09-30-2017 12:05.MP4"
type="video/mp4">
<source src="ScreenRecording_09-30-2017 12:05.MP4"
type="video/mv4">
Your browser does not support HTML5 video.
</video>
</body>
</html>
+ 1
Do you want to display simple video?
+ 1
---> <video> <---
+ 1
Mark it as right answer.
0
Does it work?
0
And I am getting "no video with supported format and MIME type " error on firefox and on safari I it is just showing "loading:
0
Try to resize video...
0
Well, when I didnt specify a size , it did the same thing. What size should I resize it to.
0
Ok Google "What is MIME?"
0
Yes, just literally recorded my screen, the new feature on IOS 11, and emailed it to myself when done, it is an .mp4 file. and I am using this boiler plate :
<!DOCTYPE html>
<html>
<body>
<video width="400" controls>
<source src="mov_bbb.mp4" type="video/mp4">
<source src="mov_bbb.ogg" type="video/ogg">
Your browser does not support HTML5 video.
</video>
</body>
</html>
0
regarldess, of that, I downloaded it locally using quicktime, and this is my code :
<!DOCTYPE html>
<html>
<body>
<video controls>
<source src="ScreenRecording_09-30-2017 12:05.mov" type="video/mov">
<source src="ScreenRecording_09-30-2017 12:05.mv4" type="video/mv4">
<source src="images/ScreenRecording_09-30-2017 12:05.mov" type="video/mov">
<source src="ScreenRecording_09-30-2017 12:05.MP4"
type="video/mp4">
<source src="ScreenRecording_09-30-2017 12:05.MP4"
type="video/mv4">
Your browser does not support HTML5 video.
</video>
</body>
</html>
Screenshot 2017-09-30 13.48.23
- it just shows the video player box, but when clicking the triangle for play it does nothing