NCAR / python-tutorial

Online content for self-paced Python tutorial
https://ncar.github.io/python-tutorial/
2 stars 7 forks source link

Addfaqandvideos #69

Closed jukent closed 3 years ago

jukent commented 3 years ago

I've embedded the youtube videos into the site, added the new FAQ, and adjusted some formatting between the FAQS for consistency.

jukent commented 3 years ago

@kmpaul The videos appeared when building locally, but now they seem to have just left white space on the page where the embedded video should be on the site.

kmpaul commented 3 years ago

That's unfortunate. Hmm. Is it a permissions thing? Like, we can watch videos from YouTube on our browser because we are logged in to Google. But maybe the settings on the videos limit who can watch?

jukent commented 3 years ago

The visibility settings are set to "Public".

This seems to be a not uncommon issue with iframe -- https://stackoverflow.com/questions/19129615/iframe-to-load-video-works-fine-locally-but-not-working-in-server

kmpaul commented 3 years ago

Good find. Looks like you need to use a video tag inside the iframe.

jukent commented 3 years ago

Good find. Looks like you need to use a video tag inside the iframe.

I had tried that and it stopped building locally as well. I think the raw html blocks is the way to go.

jukent commented 3 years ago

This was fixed by #71