X
Tap here to go to the mobile version of the site.

Support Forum

video in html5 in firefox os app

Posted

Hello, I am created an apps in firefox os and I want to put a video, who work offline, I writed this in my index.html : the video work but they are glitch and we can move in the video. thanks to read this

Hello, I am created an apps in firefox os and I want to put a video, who work offline, I writed this in my index.html : <video controls src="video.mp4">Ici la description alternative</video> the video work but they are glitch and we can move in the video. thanks to read this

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0

More Information

Question owner

veksor said

Hello, I am created an apps in firefox os and I want to put a video, who work offline, I writed this in my index.html : the video work but they are glitch and we can move in the video. thanks to read this
''veksor [[#question-1095280|said]]'' <blockquote> Hello, I am created an apps in firefox os and I want to put a video, who work offline, I writed this in my index.html : <!--video controls src="video.mp4">Ici la description alternative</video--> the video work but they are glitch and we can move in the video. thanks to read this </blockquote>
acidicX 3 solutions 22 answers

Maybe the device is too slow to play the video. Try reducing the resolution and bitrate and use a codec with hardware acceleration support (h264 -> mp4).

Maybe the device is too slow to play the video. Try reducing the resolution and bitrate and use a codec with hardware acceleration support (h264 -> mp4).

Question owner

How to use a codec??

How to use a codec??
acidicX 3 solutions 22 answers

It's how the video is encoded. You'll need to read up on video encoding or use a service like Zencoder: http://zencoder.com

It's how the video is encoded. You'll need to read up on video encoding or use a service like Zencoder: http://zencoder.com

Question owner

I don't know how to use zencoder

I don't know how to use zencoder
acidicX 3 solutions 22 answers

Use the help...

Use the help...

Question owner

I don't understand the help...

I don't understand the help...
zikzak 3 solutions 38 answers

If you use FIrefox on your computer you might find fireogg useful. Install the Firefox addon then go to "Make Web Video". This process will install a ffmeg binary on your computer then transcoding a video to something lighter will be a piece of cake though you'll have to be patient.

If you use FIrefox on your computer you might find [http://firefogg.org/ fireogg] useful. Install the Firefox addon then go to "Make Web Video". This process will install a ffmeg binary on your computer then transcoding a video to something lighter will be a piece of cake though you'll have to be patient.

Helpful Reply

I test this add-ons

I test this add-ons

Question owner

I have to convert my files in ogg or webm?? and what's the preset ( 720p 480p)??

I have to convert my files in ogg or webm?? and what's the preset ( 720p 480p)??
zikzak 3 solutions 38 answers

I'd say use webm and a low resolution. Webm is a web standard for video (usually VP9 and Ogg Vorbis). Low resolution well speedup the coversion and will require less badnwidth from your users.

I'd say use webm and a low resolution. Webm is a web standard for video (usually VP9 and Ogg Vorbis). Low resolution well speedup the coversion and will require less badnwidth from your users.

Question owner

The video work but I cant move: when I click nothing move

The video work but I cant move: when I click nothing move
zikzak 3 solutions 38 answers

I'm not sure what you mean now. If you managed to get yoru video running in your application then I advise you to close your current issue and open a new question for your new problem.

I'm not sure what you mean now. If you managed to get yoru video running in your application then I advise you to close your current issue and open a new question for your new problem.
acidicX 3 solutions 22 answers

@zikzak vp8/9 and ogg theora are not hardware accelerated. They therefore consume more CPU than the device can probably handle. Use h264 in an mp4 container to be on the safe side.

@zikzak vp8/9 and ogg theora are not hardware accelerated. They therefore consume more CPU than the device can probably handle. Use h264 in an mp4 container to be on the safe side.

Question owner

I explain: The video are running and I want to go in 2:30 of the video so I've put "controls" in the html but now imagine I'm in 00:30 of the video and I want to go to 2:30 of the video, I click and It's don't work. help

I explain: The video are running and I want to go in 2:30 of the video so I've put "controls" in the html but now imagine I'm in 00:30 of the video and I want to go to 2:30 of the video, I click and It's don't work. help

Modified by veksor

Question owner

Someone can help me??

Someone can help me??
jgw96 2 solutions 13 answers

Helpful Reply

I don't think this is the correct place to get development related help. There are many articles, literally thousands, on the interent that can help you with html5 video so I encourage you to "google" it. I hope this helps you!

I don't think this is the correct place to get development related help. There are many articles, literally thousands, on the interent that can help you with html5 video so I encourage you to "google" it. I hope this helps you!

Question owner

I "google" it, but no answer for my problem...

I "google" it, but no answer for my problem...