-
1. Re: Embed Youtube video indesign CC/CS6
Bob Bringhurst Sep 26, 2013 9:08 AM (in response to hooplife)Did you set it to Auto Play? See the "Streaming Videos" article in DPS Tips > Advanced Overlays.
-
2. Re: Embed Youtube video indesign CC/CS6
kjonesyLA Sep 26, 2013 7:03 PM (in response to hooplife)I had the same problem after a update. Seems the code for YouTube might have changed or something within InDesign changed.
Here is the code you need to hopefully make it work (works for me everytime):
<iframe width="640" height="360" src="http://www.youtube.com/embed/(Insertvideoinforhere)" frameborder="0" ></iframe>
You will need to get the string of numbers & letters's that youtube gives in the share code like: Z452rs9qHuc. I put where you need to put it in bold. (This is what YouTube give now that does not work<iframe width="560" height="315" src="//www.youtube.com/embed/Z452rs9qHuc" frameborder="0" allowfullscreen></iframe> (you need to take the info like what I highlighted in bold) & put in the code that I provided.
When you do the embbed, you might need to go back over the video, & bring up the embbed HTML box again & hit enter to make it work once you have put everything in if a blank box comes up. That is what I have had to do for the past few months.
I just tested using both the code I gave & what YouTube give now & only my code would work.
Hope that helps.
Karen
-
3. Re: Embed Youtube video indesign CC/CS6
hooplife Sep 27, 2013 1:14 PM (in response to kjonesyLA)Thank you Karen! You are a life saver!
-
4. Re: Embed Youtube video indesign CC/CS6
kjonesyLA Sep 27, 2013 3:19 PM (in response to hooplife)So glad that is what you were looking for.
-
5. Re: Embed Youtube video indesign CC/CS6
Bob Bringhurst Sep 27, 2013 9:10 PM (in response to kjonesyLA)It looks like Google changed the code using the right-click technique as well. The key is to add the "http:" prefix to the URL. When you copy the embed code, Google now uses this code, which doesn't work in an overlay:
src="//www.youtube.com/embed/xxxx"
You need to add the http: prefix to change it to this:
src="http://www.youtube.com/embed/xxxx"
-
6. Re: Embed Youtube video indesign CC/CS6
gnusart Jun 30, 2014 3:03 PM (in response to Bob Bringhurst)Is this still true? I can't seem to get a YouTube or a Vimeo video to embed anymore using CC and v31 tools. I have tried adding the "http:" to the Url and that doesn't work using either method: Inserting HTML, or by placing the code directly on the page and then editing the HTML with a right-click. I either get "invalid code for a Web Content overlay," or a warning box about needing a Flash player or different browser from YouTube. Neither will play at all on the Desktop viewer or the iPad. Here is an example of embed code that doesn't work.
<iframe width="420" height="315" src="//www.youtube.com/embed/Bo_JnxuU5Qw?rel=0" frameborder="0" allowfullscreen></iframe>
Please help!
Thanks, Beth
-
7. Re: Embed Youtube video indesign CC/CS6
fiona.watts8 Jul 31, 2014 9:19 PM (in response to gnusart)HI,
I am in the same boat as Beth - I have been trying to follow the instructions above but it does not seem to be working for InDesign CC (64 bit).
Any further instructions appreciated
Fe
-
8. Re: Embed Youtube video indesign CC/CS6
Bob Bringhurst Aug 1, 2014 3:58 PM (in response to gnusart)Beth, I used Insert HTML to embed your video. I think you missed the http: prefix.
<iframe width="420" height="315" src="http://www.youtube.com/embed/Bo_JnxuU5Qw?rel=0" frameborder="0" allowfullscreen></iframe>
-
9. Re: Embed Youtube video indesign CC/CS6
fiona.watts8 Aug 2, 2014 6:47 PM (in response to Bob Bringhurst)HI Bob - I am using the code <iframe width="560" height="315" src="http://www.youtube.com/embed/IE_FK298Icg" frameborder="0" allowfullscreen></iframe> but when I publish I just get the following notice where the video should be. I have opened with IE10 and then tried acrobat X and then just viewing the PDF but they all give me the same result. Am I doing something wrong in the publishing process?
Regards
Fe
-
10. Re: Embed Youtube video indesign CC/CS6
kjonesyLA Aug 2, 2014 8:32 PM (in response to fiona.watts8) -
11. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 7:46 AM (in response to kjonesyLA)Having the same problem here. Inserting the following code into the web content overlay frame:
<iframe width="640" height="360" src="http://www.youtube.com/embed/L4KMnT9JCeg?rel=0" frameborder="0" ></iframe>
if i just put the following in the web content frame it loads a preview but red button will not play.
http://www.youtube.com/embed/L4KMnT9JCeg?rel=0"
Can anyone help?
-
12. Re: Embed Youtube video indesign CC/CS6
Bob Levine Nov 13, 2014 7:46 AM (in response to SFS-DPS)Same answer that Bob already gave.
-
13. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 7:55 AM (in response to Bob Levine)ok. i reread his comment. Autoplay on. Transparency on. allow interaction on.
Insert the following to web content frame: http://www.youtube.com/embed/L4KMnT9JCeg?rel=0
plays on desktop viewer but not on ipad ios8
-
14. Re: Embed Youtube video indesign CC/CS6
Bob Levine Nov 13, 2014 8:10 AM (in response to SFS-DPS)Does it work on the device? If not, can we see screenshot of the device and the overlay panel settings?
-
15. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 8:23 AM (in response to Bob Levine)Ok here is the code: src="http://www.youtube.com/embed/L4KMnT9JCeg?rel=0"
Here are the screen captures from device and indd:
-
16. Re: Embed Youtube video indesign CC/CS6
Bob Levine Nov 13, 2014 8:30 AM (in response to SFS-DPS)Okay...so, what's the problem? Are you expecting the Youtube video to start playing on its own?
-
17. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 8:34 AM (in response to Bob Levine)no it will not play. It shows up but taping it does nothing?
If I put the full code:
<iframe width="1280" height="720" src="http://www.youtube.com/embed/L4KMnT9JCeg?rel=0" frameborder="0" allowfullscreen></iframe>
Overlay fails.
So Im assuming that I am putting the rigt code in: "http://www.youtube.com/embed/L4KMnT9JCeg?rel=0"
-
18. Re: Embed Youtube video indesign CC/CS6
Bob Levine Nov 13, 2014 8:39 AM (in response to SFS-DPS)Here’s how I do it and it works.
Go to Youtube and find the video. Click on share and the get the embed code.
Copy it and then head back to InDesign and paste it. A frame will appear on your document. Right click and choose edit HTML. Add the http: to the code.
With it still selected go the folio overlays panel and web content should already be selected. Set the options appropriately.
-
19. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 8:51 AM (in response to Bob Levine) -
20. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 8:59 AM (in response to SFS-DPS)Size issue resolved. However the cc option is set to auto but no subtitles appear?
-
21. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 9:30 AM (in response to SFS-DPS)ok. I found this on you tube site:
Make captions automatically appear for an embedded video by adding "&cc_load_policy=1" to the video's embed code.
You can also choose a caption language for the embedded video. To specify the caption language for the video that you'd like to embed, just add "&cc_lang_pref=fr&cc_load_policy=1" to the video's embed code.
- "cc_lang_pref" sets the language for the captions shown in the video.
- "cc_load_policy=1" turns captions on by default.
- "fr" represents the language code for French. You can look up 2-letter language codes in the ISO 639-1 standard.
So the code in my HTML looks like this:
<iframe width="1280" height="720" src="http://www.youtube.com/embed/L4KMnT9JCeg?rel=0&cc_lang_pref=en&cc_load_policy=1" frameborder="0" ></iframe>
but still no captions show up?
-
22. Re: Embed Youtube video indesign CC/CS6
Bob Levine Nov 13, 2014 9:43 AM (in response to SFS-DPS)I can’t help with the captions. I’ve never used them.
-
23. Re: Embed Youtube video indesign CC/CS6
SFS-DPS Nov 13, 2014 9:47 AM (in response to Bob Levine)Ok. Ill keep looking. Can you answer me this? is there a way to replace the you tube poster? The red arrow appears so small.
-









