Stack Overfolow
Stack Overfolow

Reputation: 671

Disable flash in video.js

How can i prevent video.js to not use flash anymore ? I mean i only need it to run if the browser supports HTML5.

The fact that i am using Drupal it should not be a problem with configuring the javascript library , right ?

Upvotes: 3

Views: 1660

Answers (1)

misterben
misterben

Reputation: 7821

Override the techOrder to include only HTML5. Add this to the data-setup attribute of the video tag:

<video … data-setup='{"techOrder": ["html5"]}'>

Upvotes: 5

Related Questions