1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-03 00:57:02 +02:00

Changed to feature prefix over suffix to make it read more as a boolean

This commit is contained in:
Steve Heffernan
2014-09-02 16:22:43 -07:00
parent c90d7d36f6
commit f3925c7364
10 changed files with 33 additions and 33 deletions

View File

@ -13,19 +13,19 @@ vjs.Html5 = vjs.MediaTechController.extend({
/** @constructor */
init: function(player, options, ready){
// volume cannot be changed from 1 on iOS
this['volumeControlFeature'] = vjs.Html5.canControlVolume();
this['featuresVolumeControl'] = vjs.Html5.canControlVolume();
// just in case; or is it excessively...
this['playbackRateFeature'] = vjs.Html5.canControlPlaybackRate();
this['featuresPlaybackRate'] = vjs.Html5.canControlPlaybackRate();
// In iOS, if you move a video element in the DOM, it breaks video playback.
this['movingMediaElementInDOM'] = !vjs.IS_IOS;
// HTML video is able to automatically resize when going to fullscreen
this['fullscreenResizeFeature'] = true;
this['featuresFullscreenResize'] = true;
// HTML video supports progress events
this['progressEventsFeature'] = true;
this['featuresProgressEvents'] = true;
vjs.MediaTechController.call(this, player, options, ready);
this.setupTriggers();