Disable picture in picture for background video
This commit is contained in:
parent
f716ef5e87
commit
8db5c8e7eb
|
|
@ -59,7 +59,7 @@
|
|||
</head>
|
||||
<body>
|
||||
{if !empty($background_video)}
|
||||
<video id="background-video" autoplay muted poster="" onloadstart="this.playbackRate = 1;">
|
||||
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1;">
|
||||
<source src="{$background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
</head>
|
||||
<body>
|
||||
{if !empty($background_video)}
|
||||
<video id="background-video" autoplay muted poster="" onloadstart="this.playbackRate = 1;">
|
||||
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1;">
|
||||
<source src="{$background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
</head>
|
||||
<body>
|
||||
{if !empty($background_video)}
|
||||
<video id="background-video" autoplay muted poster="" onloadstart="this.playbackRate = 1;">
|
||||
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1;">
|
||||
<source src="{$background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</head>
|
||||
<body>
|
||||
{if !empty($background_video)}
|
||||
<video id="background-video" autoplay muted poster="" onloadstart="this.playbackRate = 1;">
|
||||
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1;">
|
||||
<source src="{$background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
</head>
|
||||
<body>
|
||||
{if !empty($background_video)}
|
||||
<video id="background-video" autoplay muted poster="" onloadstart="this.playbackRate = 1;">
|
||||
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1;">
|
||||
<source src="{$background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -1166,7 +1166,7 @@
|
|||
|
||||
{*//video background *}
|
||||
{if !empty($settings.theme.background_video)}
|
||||
<video id="background-video" autoplay muted poster="" onloadstart="this.playbackRate = 1; this.pause();">
|
||||
<video id="background-video" autoplay muted poster="" disablePictureInPicture="true" onloadstart="this.playbackRate = 1; this.pause();">
|
||||
<source src="{$settings.theme.background_video}" type="video/mp4">
|
||||
</video>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Reference in New Issue