ابحث في الدعم

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 have this problem
  • 8 views
  • آخر ردّ كتبه veksor

more options

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)

more options

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
more options

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

more options

How to use a codec??

more options

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

more options

I don't know how to use zencoder

more options

Use the help...

more options

I don't understand the help...

more options

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.

more options

I test this add-ons

more options

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

more options

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.

more options

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

more options

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.

more options

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

more options

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

more options

Someone can help me??

more options

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!

more options

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