Skip to Content
Menu
This question has been flagged
2 Replies
2348 Views

I use this Graphene Theme from the Theme Store for Odoo 13. It says the theme has Media Block, but I could not find it.

I use the default Video feature from Website Builder. But, it won't play the sound. Changing the HTML from mute=1 to mute=0 would crash the video.


Anyone know how to fix this?

<t name="Home" priority="29" t-name="website.homepage">
<t t-call="website.layout">
<t t-set="pageName" t-value="'homepage'"/>
<div id="wrap" class="oe_structure oe_empty">
<section class="pt32 pb32 o_background_video" data-name="Title" data-bg-video-src="//www.youtube.com/embed/LyEz6Ru2IwY?autoplay=1&mute=1&rel=0&loop=1&playlist=LyEz6Ru2IwY&controls=0&fs=0&modestbranding=1">
<div class="container">
<div class="row s_nb_column_fixed">
<div class="col-lg-12 s_title pt16 pb16" style="text-align: center;">
<h1 class="s_title_default">
<br/>
</h1>
</div>
</div>
</div>
</section>
</div>
</t>
</t>


Sincerely,

Jason

Avatar
Discard
Best Answer

Use iframe Embed Video Option. Goto Youtube, select Video, click share, Get Emdeb link.

Example

<iframe width="560" height="315" src="https://www.youtube.com/embed/JDsv7wplnwk?start=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Avatar
Discard