Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
There is probably a simple answer for this, but I couldn't find it.
I want to have a page of LINKS ONLY to external (youtube) videos. Every time I try it, it embeds the video. I don't want to bog the page down, so how would I put a clickable link instead of embedding? I don't want them to have to copy and paste the URL; I do want it to open in a different tab/window.
Thank you!
Solved! Go to Solution.
Hi, @cwendt ! The ability to prevent an embed from occurring is baked into the YouTube embed process. Have a look at this lesson from the Canvas Guides: How do I link to a YouTube video in the Rich Content Editor? , specifically the section titled Insert Link with Hyperlink icon. To add the link to the YouTube video, use the chain link icon that appears at the top of the Rich Content Editor; when you paste the link into the box, the YouTube video will appear in the dialog box. At that point, enable the setting directly underneath that reads, "Disable inline previews for this link." When you click Save, your page will display a hyperlink to the YouTube video, not a preview of the video itself. If you'd like, you can then switch to the HTML Editor to change the title of the video (which, unless you've specified otherwise, will just read Link), or you can follow the instructions in the same lesson under the heading Hyperlink Existing Text. You can also make sure the video will open in a new window or tab by inserting the target="_blank" attribute.
For anyone who stumbles across this page because they are trying to get rid of the embedded YouTube video icon that Canvas automatically inserts when you link to a YouTube video, the simple fix is all you have to do is add class="inline_disabled" to the <A> tag containing the link.
Hi, @cwendt ! The ability to prevent an embed from occurring is baked into the YouTube embed process. Have a look at this lesson from the Canvas Guides: How do I link to a YouTube video in the Rich Content Editor? , specifically the section titled Insert Link with Hyperlink icon. To add the link to the YouTube video, use the chain link icon that appears at the top of the Rich Content Editor; when you paste the link into the box, the YouTube video will appear in the dialog box. At that point, enable the setting directly underneath that reads, "Disable inline previews for this link." When you click Save, your page will display a hyperlink to the YouTube video, not a preview of the video itself. If you'd like, you can then switch to the HTML Editor to change the title of the video (which, unless you've specified otherwise, will just read Link), or you can follow the instructions in the same lesson under the heading Hyperlink Existing Text. You can also make sure the video will open in a new window or tab by inserting the target="_blank" attribute.
Oh, DERRRRRR! No need for the video—your explanation pointed me right to it! I kinda had the feeling it was an easy fix. Thank you, stefaniesanders!
You're welcome, @cwendt ! Any time.
This doesn't work in Announcements. There are no link options to prevent the inline content. Please advise.
For anyone who stumbles across this page because they are trying to get rid of the embedded YouTube video icon that Canvas automatically inserts when you link to a YouTube video, the simple fix is all you have to do is add class="inline_disabled" to the <A> tag containing the link.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.