1
私は自分のサイトでjwplayerを使用していますが、iframeを使ってプレーヤーを含めました。私はプレーヤーのjsスクリプトを含んでいます。JWプレーヤーのオートスタートがモバイルで動作していませんか?
<script src="//content.jwplatform.com/libraries/playerid.js"></script>
iframeにソースを指定します。
<div style="position:relative; padding-bottom:56.25%; overflow:hidden;">
<iframe src="//content.jwplatform.com/players/MEDIAID-PLAYERID.html" width="100%" height="100%" frameborder="0" scrolling="auto" allowfullscreen style="position:absolute;"></iframe>
</div>
ユーザーが表紙画像をクリックする
、私は。それは、先週まで私の携帯に働いたのiframevideo_block.attr("src", src);
のソースをリロードします(15〜3月 - 2017年)。今はモバイルデバイスで動作していない、私は彼らがsayingモバイルデバイスの自動起動のサポートを見ている。最新のリリースが効果を発揮しているかどうかはわかりません。
<html>
<head>
<title>
IFRAME SAMPLE
</title>
</head>
<body>
<div style="position:relative; padding-bottom:56.25%; overflow:hidden;"><iframe src="//content.jwplatform.com/players/mediaid-playerid.html" width="100%" height="100%" frameborder="0" scrolling="auto" allowfullscreen style="position:absolute;"></iframe></div>
<script src="https://content.jwplatform.com/libraries/playerid.js"></script><!-- Featured Video Card Player -->
</body>
いいえ、このリンクを確認してください。https://www.jwplayer.com/blog/mobile-web-autoplay/ 私はAndroid搭載モバイルで試してみました。 – Abel
ですので、あなたの回答はiframeのためhttps://developers.google.com/web/updates/2016/07/autoplayにあると思います。 –
ただし、リンクはiframeのみを使用しています。 : – Abel