Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use https for youtube shortcode #1477

Closed
wants to merge 1 commit into from
Closed

Conversation

fmpwizard
Copy link
Contributor

The Hugo site uses HTTPS but the video link was HTTP, which made chrome block the video

The Hugo site uses HTTPS but the video link was HTTP, which made chrome block the video
@anthonyfok
Copy link
Member

Hi @fmpwizard,

Thanks for your contribution. Actually, the gohugo.io website is accessible at both http://gohugo.io/ and https://gohugo.io/, but indeed, as you have discovered, the embedded YouTube video fails to load when a user visit via HTTPS at https://gohugo.io/, and it seems YouTube favours SSL connection anyway, so yes, you patch looks good!

Merged as ddd8c77 (master) and e3d2889 (v0.14.docs)

@fmpwizard
Copy link
Contributor Author

Thanks!

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants