Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

video in html5 in firefox os app

  • 18 பதிலளிப்புகள்
  • 7 இந்த பிரச்னைகள் உள்ளது
  • 9 views
  • Last reply by veksor

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

All Replies (18)

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

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).

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

Use the help...

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.

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

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.

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

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.

@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.

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

veksor மூலமாக திருத்தப்பட்டது

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 "google" it, but no answer for my problem...