- Posts: 3
COMMUNITY FORUM
Youtube Embed not working HTTPS
- Randall Shelley
-
Topic Author
- Offline
- New Member
Less
More
11 years 7 months ago #53404
by Randall Shelley
Youtube Embed not working HTTPS was created by Randall Shelley
Hi there,
So sometimes the videos have been showing up and then one day they are all missing. The entire website is SSLed and I believe the youtube embed url gets routed to http instead of https. So the browser blocks the content from loading.
Any advice on how to override the url to https? Or is there another solution/setting i can click to force https urls?
www.californiarac.com/tesla-s-rental.html
Every car url has an embedded youtube video.
Thanks,
Randall
So sometimes the videos have been showing up and then one day they are all missing. The entire website is SSLed and I believe the youtube embed url gets routed to http instead of https. So the browser blocks the content from loading.
Any advice on how to override the url to https? Or is there another solution/setting i can click to force https urls?
www.californiarac.com/tesla-s-rental.html
Every car url has an embedded youtube video.
Thanks,
Randall
The topic has been locked.
- Randall Shelley
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
11 years 7 months ago #53405
by Randall Shelley
Replied by Randall Shelley on topic Re: Youtube Embed not working HTTPS
Any Ideas? The video will show in chrome but in firefox and IE the video is hidden because of SSL arguments...
The topic has been locked.
- Randall Shelley
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
11 years 7 months ago #53406
by Randall Shelley
Replied by Randall Shelley on topic Re: Youtube Embed not working HTTPS - FIXED
So here is what i had to do to force SSL (https://) for iframe embedded URLS. This is a hack of the module but it worked.
edit the file /plugins/content/jw_allvideos/includes/sources.php
Line 268
/* --- Major 3rd party video providers --- */
// youtube.com - www.youtube.com/watch?v=g5lGNkS5TE0
"youtube" => "<iframe src=\"https://www.youtube.com/embed/{SOURCE}\" width=\"{WIDTH}\" height=\"{HEIGHT}\" frameborder=\"0\" allowfullscreen title=\"JoomlaWorks AllVideos Player\">",
edit the file /plugins/content/jw_allvideos/includes/sources.php
Line 268
/* --- Major 3rd party video providers --- */
// youtube.com - www.youtube.com/watch?v=g5lGNkS5TE0
"youtube" => "<iframe src=\"https://www.youtube.com/embed/{SOURCE}\" width=\"{WIDTH}\" height=\"{HEIGHT}\" frameborder=\"0\" allowfullscreen title=\"JoomlaWorks AllVideos Player\">",
The topic has been locked.
- cirejairus
-
- Offline
- New Member
Less
More
- Posts: 1
11 years 7 months ago #53407
by cirejairus
Replied by cirejairus on topic Re: Youtube Embed not working HTTPS
The video is working in Opera browser. Did you try that video in other browser?
The topic has been locked.
- Katia
-
- Offline
- Platinum Member
Less
More
- Posts: 4696
11 years 7 months ago #53408
by Katia
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Katia on topic Re: Youtube Embed not working HTTPS
You don't need to add the whole url for youtube videos....
This // youtube.com - www.youtube.com/watch?v=g5lGNkS5TE0 [nofollow]
could be written like that:
{youtube}g5lGNkS5TE0{/youtube}
This // youtube.com - www.youtube.com/watch?v=g5lGNkS5TE0 [nofollow]
could be written like that:
{youtube}g5lGNkS5TE0{/youtube}
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.