[deploy] feat: Disable autoplay on native videos (#10516)
This commit is contained in:
parent
878c70bec9
commit
87590e77d3
1 changed files with 0 additions and 4 deletions
|
|
@ -72,7 +72,6 @@ function initializeVideoPlayback() {
|
|||
playerInstance.setup({
|
||||
file: metadata.video_source_url,
|
||||
mediaid: metadata.video_code,
|
||||
autostart: true,
|
||||
image: metadata.video_thumbnail_url,
|
||||
playbackRateControls: true,
|
||||
tracks: [
|
||||
|
|
@ -85,9 +84,6 @@ function initializeVideoPlayback() {
|
|||
],
|
||||
});
|
||||
if (seconds) {
|
||||
jwplayer().on('ready', function (event) {
|
||||
jwplayer().play();
|
||||
});
|
||||
jwplayer().on('firstFrame', function () {
|
||||
jwplayer().seek(seconds);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue