Home › Forums › Basel support forum › Youtube Related Videos
Youtube Related Videos
- This topic has 7 replies, 3 voices, and was last updated 7 years, 1 month ago by
Artem Temos.
-
AuthorPosts
-
March 26, 2018 at 10:42 am #48855
acaroParticipantHi Support,
I am attempting to remove related videos in the ‘Product video URL’ on the product page, so that no related videos are shown once the Youtube video ends. The normal Youtube URL commands break the video, for example adding “&rel=0” to the end of the URL causes an error.
Is there a way to do this? This should definitely be a priority if not since the related videos are showing competitors on my product page..
Thank you!
March 26, 2018 at 12:01 pm #48881
Bogdan DonovanKeymasterHi,
Unfortunately, it’s impossible to control the iframe elements of an official YouTube video player via WordPress theme since all of its content is located on the YouTube side.
Regards
March 26, 2018 at 1:01 pm #48897
acaroParticipantOk… Youtube makes it pretty simple to control any official embedded video from their site by appending characters to the end of the URL. This is a standard procedure to embedding a Youtube video on any site/theme. You can how to do it ON THIS LINK
This is a problem with the Xtemos Basel Theme because it is not embedding the URL correctly with these appended characters specifically designed to “control the iframe content of an official YouTube video player.” When is this going to be fixed???
I mean this is specifically a “Premium E-commerce Theme” I would think that showing a competitors product at the end of a product video would be a huge concern for you guys; it is for me and 100% sure for any other site making online sales.
Thanks for looking further into this.
March 26, 2018 at 1:31 pm #48915
Artem TemosKeymasterCould you please send us your admin and FTP access so we can see what is possible to do there? And send us a link to your product with video and YouTube link.
Regards
March 26, 2018 at 5:04 pm #48971
acaroParticipantHi,
I have placed the requested information bellow for the staging site. Please keep track of any updates so that I can replicate it on the live one. I really think this should be an update on the the theme though..
Thanks!
March 27, 2018 at 7:17 am #49065
Artem TemosKeymasterTo fix this, try to edit the file
basel/js/functions.js
and change this code http://prntscr.com/iwwczz
to this oneiframe: { patterns: { youtube: { index: 'youtube.com/', id: 'v=', src: '//www.youtube.com/embed/%id%?autoplay=1&rel=0' } } },
And you will need to disable JS minification in Theme Settings -> Performance.
March 28, 2018 at 12:15 pm #49548
acaroParticipantWill this be updated on the next Basel version? Otherwise it will get overwritten every update, is there a way around this?
Works for now, thanks!
March 28, 2018 at 1:29 pm #49581
Artem TemosKeymasterYes, we will include it in our next update.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register