user1946932
user1946932

Reputation: 600

Can I force Flash use for MP4 playback?

I want to abandon the HTML5 video tag for a 8MB MP4 file I want to play on a webpage because it has been doing strange things on Chrome on Windows 7/8 but not on Chrome <=Vista. Strange as in:

This has been duplicated on a number of different machines we have tested on.

Is there some markup I could use to force an MP4 to be played by Flash only?

TIA Mark

Upvotes: 3

Views: 8605

Answers (3)

misterben
misterben

Reputation: 7821

You can make the player use Flash using the techOrder parameter.

<video ... data-setup='{"techOrder": ["flash"]}' ... />

https://github.com/videojs/video.js/blob/master/docs/guides/tech.md

Upvotes: 5

Michiel
Michiel

Reputation: 8103

Try to replace

 vjs.options = {

      // Default order of fallback technology
      'techOrder': ['html5','flash'],

with

vjs.options = {

      // Default order of fallback technology
      'techOrder': ['flash','html5'],

in video.js. The script will now give flash the priority to run, rather then html5

Upvotes: 1

Shanaka
Shanaka

Reputation: 1738

If you want to give the priprity to flash player first go to the video.js or video.min.js file and replace the ["HTML5"],["flash"] with ["flash"],["HTML5"]

Upvotes: 3

Related Questions