-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
I'm creating a new iframe in the page and initializing a new Player using the iframe:
const iframe = document.createElement('iframe');
iframe.src = url;
iframe.className = 'w-full h-full';
new Player(iframe, {..., playsinline: true, ...})
But the iframe content's video tag remains without a playsinline attribute:
<iframe src="https://player.vimeo.com/video/1044112583?h=4a9110f311" class="w-full h-full" data-ready="true">
<html lang="en">
<head>
{...}
</head>
<body class="vp-center">
<div id="player" class="player player-1c2e052c-3178-4b1a-919f-b9fbfd31d478 js-player-fullscreen with-fullscreen with-sticky-custom-logo touch-support player-normal player-xxs app-xxs no-fullscreen-support right-content-area-supported" style="max-width: calc(177.777778vh); height: calc(56.25vw);">
{...}
<div class="vp-video-wrapper transparent content-area-sibling-enabled" data-content-area-sibling-eligible="" aria-hidden="true">
<div class="vp-video">
<div class="vp-telecine invisible">
<video preload="none" tabindex="-1" src="https://vod-adaptive-ak.vimeocdn.com/exp=1742306350~acl=%2F4e1bad92-8898-4f23-8fb0-389d225cbdc2%2F%2A~hmac=12c4edd053a19f4b59f2f384daaedc89217a12b4dbe7c97650de0bc485e5f8c7/4e1bad92-8898-4f23-8fb0-389d225cbdc2/v2/playlist/av/primary/sub/219720087-iw/prot/cXNyPTE/playlist.m3u8?ext-subs=1&omit=av1-hevc-opus&pathsig=8c953e4f~8HnfLgSnXUJd7e_S64xbdhPgp5_sYdsPgqj9DU80c2A&qsr=1&r=dXM%3D&rh=NnytU&sf=ts" disablepictureinpicture="" autopictureinpicture="" style="">
<track kind="subtitles" src="/texttrack/219720087.vtt?token=67d97c2e_0xc9135ceecd7536f5c0a09e710e2f19f1a9f0abcf" id="telecine-track-219720087" srclang="iw" label="עברית">
</video>
</div>
</div>
</div>
{...}
</div>
</body>
</html>
</iframe>
I've tried so far:
- Getting the iframe from the oEmbed endpoint (no change)
- Adding the
&playsinline=1
parameter to the url (no change)
Metadata
Metadata
Assignees
Labels
No labels