shortcodes vs iframes for videos #6501
Unanswered
stuvjordan-uroc
asked this question in
Q&A
Replies: 1 comment
-
You can always check the HTML output that was generated by the shortcode and compare it to the raw |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi!
I'm trying to embed a video following the docs here: https://quarto.org/docs/authoring/videos.html.
Here's the link to the video I'd like to embed:
https://rochester.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=9577f0bf-065e-4611-8049-b05b01284126
(Panopto is the video hosting service my university provides for this sort of thing.)
When I do:
rendering fails with the message "No video source specified for video shortcode"
Based on this thread, I'm guessing quarto doesn't like something about how the query parameter is formatted? So I tried grabbing the URL returned when I ask Panopto to give me code to embed the video. Using that url yields this:
This leads to successful compilation, but with a non-working result like this:
Finally I tried just the the raw iframe code supplied by Panopto:
That works beautifully:
So what's going on here? What are video shortcodes doing that is different from what raw iframe code does? Am I missing out on something by not being able to make the shortcode work for this video?
Thanks!
This
Beta Was this translation helpful? Give feedback.
All reactions