Post by ZaraMakes » Sat Feb 17, 2018 4:10 am

Hi
I have been searching on OC market place. I want add videos on my homepage and categories pages, that auto play as soon as someone comes to my website/goes to category. I’ve searched and can’t find any extention that supports OC 2.3. Is there a way I can make the YouTube videos on auto play and loop? Thanks

Newbie

Posts

Joined
Mon Jul 15, 2013 5:25 pm

Post by rjcalifornia » Sat Feb 17, 2018 2:09 pm

There are no plugins, but you can embed the video itself. Although, browsers will no longer be supporting auto-play videos, you can try that.

Image


Active Member
Online

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by pprmkr » Sat Feb 17, 2018 2:58 pm

Autoplay, full width and responsive ...

Code: Select all

<div class="col-xs-12 embed-responsive embed-responsive-16by9">
	<iframe frameborder="0" src="//www.youtube.com/embed/ZDhnVPB8ev0?autoplay=1&amp;loop=1&amp;showinfo=0&amp;theme=light&amp;color=white&amp;controls=0&amp;modestbranding=1&amp;start=1&amp;fs=0&amp;iv_load_policy=3&amp;wmode=transparent&amp;rel=0"></iframe></div>

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by ZaraMakes » Sat Feb 17, 2018 5:32 pm

Thank you for your reply. I have tried this code, (changing youtube video ID to the one I want playing) but still no luck. It doesn't autoplay nor loop. Can you suggest anything else?

Many thanks

Newbie

Posts

Joined
Mon Jul 15, 2013 5:25 pm

Post by pprmkr » Sun Feb 18, 2018 4:12 pm

Goto Catalog - Categories
Edit the Category
Click </> Code view
Paste:

Code: Select all

<div class="col-xs-12 embed-responsive embed-responsive-16by9">
	<iframe src="//www.youtube.com/embed/MKQV12z5X-o?autoplay=1&amp;loop=1&amp;playlist=MKQV12z5X-o&amp;showinfo=0&amp;theme=light&amp;color=white&amp;controls=0&amp;modestbranding=1&amp;start=1&amp;fs=0&amp;iv_load_policy=3&amp;wmode=transparent&amp;rel=0" frameborder="0"></iframe></div>
Click </> Code view again !
Save.

Ctrl + Click me to see result.

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by ZaraMakes » Mon Feb 19, 2018 8:59 pm

Thank you so much :) that works really well on desktop site. Any idea how it can be on autoplay for mobiles/ipads too ?
Works really well for desktop just need it to work for mobiles and ipads.

Many thanks in advance :)

Newbie

Posts

Joined
Mon Jul 15, 2013 5:25 pm

Post by ZaraMakes » Fri Feb 23, 2018 12:28 am

Hi,

any idea ? Many thanks

Newbie

Posts

Joined
Mon Jul 15, 2013 5:25 pm

Post by izzersnet » Wed May 09, 2018 7:57 pm

pprmkr wrote:
Sun Feb 18, 2018 4:12 pm
Goto Catalog - Categories
Edit the Category
Click </> Code view
Paste:

Code: Select all

<div class="col-xs-12 embed-responsive embed-responsive-16by9">
	<iframe src="//www.youtube.com/embed/MKQV12z5X-o?autoplay=1&amp;loop=1&amp;playlist=MKQV12z5X-o&amp;showinfo=0&amp;theme=light&amp;color=white&amp;controls=0&amp;modestbranding=1&amp;start=1&amp;fs=0&amp;iv_load_policy=3&amp;wmode=transparent&amp;rel=0" frameborder="0"></iframe></div>
Click </> Code view again !
Save.

Ctrl + Click me to see result.
I am a Newbie. I have space on my HomePage to embed my two YouTube videos next to my two Featured products (www.izzers.net). How would the two videos be placed in that location? Thanks in advance.

Newbie

Posts

Joined
Tue May 08, 2018 1:09 pm
Location - Florida
Who is online

Users browsing this forum: No registered users and 11 guests