myetv-player 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/css/myetv-player.css +21 -0
- package/css/myetv-player.min.css +1 -1
- package/dist/myetv-player.js +158 -49
- package/dist/myetv-player.min.js +114 -29
- package/package.json +3 -1
- package/plugins/facebook/README.md +3 -0
- package/plugins/facebook/myetv-player-facebook-plugin.js +283 -17
- package/plugins/vimeo/README.md +3 -0
- package/plugins/vimeo/myetv-player-vimeo.js +556 -39
- package/plugins/youtube/README.md +7 -0
- package/plugins/youtube/myetv-player-youtube-plugin.js +817 -288
- package/scss/_controls.scss +21 -0
- package/src/controls.js +136 -32
- package/src/core.js +22 -17
|
@@ -110,6 +110,13 @@ const player = new MYETVPlayer('myVideo', {
|
|
|
110
110
|
// Show YouTube native controls (true) or use player controls (false)
|
|
111
111
|
showYouTubeUI: false,
|
|
112
112
|
|
|
113
|
+
// Show the button on the controlbar to enable the YouTube native controls temporarily
|
|
114
|
+
showNativeControlsButton: true,
|
|
115
|
+
|
|
116
|
+
controlBarOpacity: 0.95, // The controlbar opacity or semi-transparency or transparency - values: from 0 to 1
|
|
117
|
+
|
|
118
|
+
titleOverlayOpacity: 0.95, // The overlay title opacity or semi-transparency or transparency - values: from 0 to 1
|
|
119
|
+
|
|
113
120
|
// enable or disable the mouse click over the Youtube player also if showYouTubeUI is false
|
|
114
121
|
mouseClick: false,
|
|
115
122
|
|