Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

video in html5 in firefox os app

  • 18 réponses
  • 7 ont ce problème
  • 35 vues
  • Dernière réponse par veksor
  • Archivé

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

Toutes les réponses (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).

How to use a codec??

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

I don't know how to use zencoder

Use the help...

I don't understand 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 test this add-ons

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

Modifié le par veksor

Someone can help me??

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