The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> YouTube Video Embed on Wordpress forcing Subtitles, Please check my code for error
karlip
post Aug 23 2018, 10:46 AM
Post #1





Group: Members
Posts: 1
Joined: 23-August 18
Member No.: 26,699



I am trying to embed some YouTube videos on my website and want to force showing the subtitles. I read about how to do it and now it works but the editor says that there is a mistake "Named entity expected. Got none." It works without mistakes on the website but maybe someone knows how to correct it.

If I place the cc_load_policy=1 right behind the URL as described in most blogs then it does not do what I want which is not showing alternative videos once the video ends or is paused.

thanks for your help!

<div style="text-align: center;">

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/4cmhow4aPv8?rel=0&cc_load_policy=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

</div>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 10:49 PM