# セクションの動画を背景ビデオに設定しているが、スマホからの表示にすると流れない現象

**URL:** <https://community.shopify.com/t/topic/9459>\
**Category:** 技術的なQ＆A\
**Created:** [February 21, 2020, 11:51am UTC](https://community.shopify.com/t/topic/9459 "2020-02-21T11:51:07Z")\
**Posts on this page:** 5\
**Page:** 1

## AI-generated summary

スマホ表示で背景ビデオが自動再生されず、再生ボタンを押さないと流れない問題が相談されている。PCプレビューでは正常だが、モバイルでは期待した動作になっていない。 

現状の設定は以下の通り。
- テーマのカスタマイズ画面からセクションを追加
- YouTubeリンクを指定
- スタイルは「背景ビデオ」を選択
- コードの直接編集はしていない

回答では、まず設定方法の確認が行われ、管理画面からの標準機能による設定であることが明確になった。具体的な解決策はまだ提示されておらず、Shopify開発者向けの参考資料への案内にとどまっている。 

現時点では結論は出ておらず、スマホで常時自動再生させる方法は未解決のまま。背景ビデオ、テーマ設定、YouTube埋め込みの仕様やモバイル側の制限が関係している可能性が示唆されるが、確定的な回答はない。

<div class="post-metadata">

**Author:** ![Rei88](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Rei88](https://community.shopify.com/u/Rei88)\
**Post date:** [February 21, 2020, 11:51am UTC](https://community.shopify.com/t/topic/9459/1 "2020-02-21T11:51:07Z")

</div>

セクションの動画を背景ビデオに設定しています。

プレビューのPC表示だと問題ないのですが、スマホ表示だと動画が流れません。再生ボタンが表示され、そのボタンをタップしないと流れない状況です。

この問題を解消し、スマホから表示した場合でも、常に動画が流れている状態にする方法を教えて下さい。

---

<div class="post-metadata">

**Author:** ![junichiokamura](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/junichiokamura/32/299737_2.png) [@junichiokamura](https://community.shopify.com/u/junichiokamura)\
**Post date:** [February 25, 2020, 9:57am UTC](https://community.shopify.com/t/topic/9459/2 "2020-02-25T09:57:06Z")

</div>

具体的にどう言った方法で設定されていますか？ カスタマイズ画面からなのか、コードを直接編集しているのかなど。

---

<div class="post-metadata">

**Author:** ![Rei88](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Rei88](https://community.shopify.com/u/Rei88)\
**Post date:** [February 26, 2020, 3:50pm UTC](https://community.shopify.com/t/topic/9459/3 "2020-02-26T15:50:50Z")

</div>

ご回答ありがとうございます。

カスタマイズのセクション追加から動画を追加。

そして、You Tubeのリンクを設定し、スタイルは背景ビデオを選択しています。

宜しくお願い致します。

---

<div class="post-metadata">

**Author:** ![Rei88](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Rei88](https://community.shopify.com/u/Rei88)\
**Post date:** [February 26, 2020, 3:51pm UTC](https://community.shopify.com/t/topic/9459/4 "2020-02-26T15:51:24Z")

</div>

追記です。

直接のコード編集はしておりません。

---

<div class="post-metadata">

**Author:** ![junichiokamura](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/junichiokamura/32/299737_2.png) [@junichiokamura](https://community.shopify.com/u/junichiokamura)\
**Post date:** [March 6, 2020, 5:42am UTC](https://community.shopify.com/t/topic/9459/5 "2020-03-06T05:42:36Z")

</div>

直接の解決にはならないと思いますが、以下の情報などは参考になりそうですか？  
[https://shopify.dev/tutorials/add-theme-support-for-rich-media-3d-and-video](https://shopify.dev/tutorials/add-theme-support-for-rich-media-3d-and-video)
