Video Not Showing On HTTPS Url

Posted in: Newspaper
Post count: 78

Why when i post a video post it’s not showing on https urls

for example

here is shows the video: http://www.jiujitsutimes.com/gabi-garcia-set-to-fight-her-mma-debut-in-japan-at-new-years-eve/

but on https url: https://www.jiujitsutimes.com/gabi-garcia-set-to-fight-her-mma-debut-in-japan-at-new-years-eve/

video is blank

Post count: 9544

Because the video link you’re placing on the page is not https — so the browser blocks any non-https content when loading an https page — this is purpose of https; if everything on page not secure, then it defeats the purpose.

Make sure you use https URLs for your videos.

Post count: 78

Hi Chris every video in youtube is https so it’s positive an https
just not sure why it’s not showing

Post count: 78

The video is showing on https if it’s on the description side
https://www.jiujitsutimes.com/rodolfo-vieira-vs-felipe-preguica-adcc-2015-heavyweight-finals-replay/

but if the post is featured video format is video then it’s not gonna show

Post count: 9544

Well, when i went to page video didnt show, and browser said do i want to load insecure content, i said yes, then video loaded. I did not look at your source code though, it might be the iframe wrapper loading video via http..vs https, but again i didnt look at your page source, and im presuming you already checked console for errors.

Double check source code do search for anything with http on page.

Post count: 7909

Hi,

You have this issue because you use an old version of the theme and it will display only http videos – http://screencast.com/t/yTSWwQHf
Here is how the code looks on version 6 of the theme – http://screencast.com/t/lO2SZ8nJu3 so I suggest to upgrade to version 6 – https://forum.tagdiv.com/how-to-update-the-theme-2/
Please note that the old customization to the theme file and css code or child theme(you will have to update als the child theme) will not work, you will have to adjust them for the new version as the code was rewritten for Newspaper 6, practically it is a new theme.

Thanks!

Post count: 78

Hi is there any other way rather than upgrading the theme? because i did some customization on the theme and i don’t want to redo everything again. is there a fix on that with the codes?

Post count: 7909

Hi,

If you look to the above screenshots you can see hoe the code looks for version 6 and you could try to change the code like this – http://screencast.com/t/ImEMJyOSPA First please make a backup of your current file.

' . td_global::$http_or_https . '://www.youtube.com/embed/'

Thanks!

Post count: 78

the code is different from that version

Post count: 7909

Hi cookingpanda,

I know is different you have to change it like I suggested above – http://screencast.com/t/Vvf55php5XvI or please update to the version 6 of the theme where this is already implemented.

Thanks!

Post count: 78

hi i can’t just update since i did a lot of customization on the website. now im stuck
i just wish i have another way of fixing this

Post count: 7909

Hi,

Did you tried the above solution and it doesn’t work? – http://screencast.com/t/Vvf55php5XvI
Provide more details.

Thanks!

Post count: 78
Post count: 7909

Hi,

Yes, it works – http://screencast.com/t/E7GAAiaX

Thanks!

Post count: 78

all of the sudden now im getting this error

Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109

Warning: get_headers(http://img.youtube.com/vi/GeFVqfDk3PM/maxresdefault.jpg): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109

Warning: Cannot modify header information – headers already sent by (output started at /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /home/jiujitsu/public_html/wp-admin/post.php on line 242

Warning: Cannot modify header information – headers already sent by (output started at /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /home/jiujitsu/public_html/wp-includes/pluggable.php on line 1207

Post count: 7909

Hi,

To get rid of these warnings try to add @ here – http://screencast.com/t/CSHWVFuaGt

Thanks!

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.