Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 26. Nov 2024, 01:01

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 24. Mar 2017, 02:19 
Offline

Joined: 24. Mar 2017, 02:00
Posts: 2
Hi,

I bought the Pro version and I'm a bit confused how to do the workaround to include http video in a https website.

Example: the iframe URL is:
http://play.streamkit.tv/content/channel/adventist_at/vod/2017/3/dimineata.player.html
(this website doesn't use https yet)

The parent website where I include this is:
https://tv2.intercer.net/predici/dimineata.html
in this page I put this code:
[advanced_iframe securitykey="xxxxxxxx" src="http://play.streamkit.tv/content/channel/adventist_at/vod/2017/3/dimineata.player.html" width="620" height="453"]

In the header of tv2.intercer.net Wordpress website I put this in the <head> section:
<script>
var updateIframeHeight = "true";
var keepOverflowHidden = "false";
var enable_external_height_workaround="true";
var use_shortcode_attributes_only="true";
</script>
<script src="https://tv2.intercer.net/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>

but it is now showing the video. It says: "Http iframes are not shown in https pages in many major browsers. Please read this post for details."

What am I doing wrong?

Thanks,

Lucian


Top
 Profile  
 
PostPosted: 24. Mar 2017, 16:54 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
please see the error message:

Http iframes are not shown in https pages in many major browsers. Please read this post for details.

http://www.tinywebgallery.com/blog/ifra ... -and-https

Best, Michael


Top
 Profile  
 
PostPosted: 24. Mar 2017, 19:22 
Offline

Joined: 24. Mar 2017, 02:00
Posts: 2
Yes, I read the page with instructions for the workaround, but I am not sure I did it right.

Can you please check the details I posted before?

Where is the ai_external.js supposed to be placed? On the remote site or on the current website where I included the iframe?
(I placed it on the current website, which has https)

Thanks,

Lucian


Top
 Profile  
 
PostPosted: 25. Mar 2017, 12:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I can only repeat myself:
Http iframes are NOT shown in https pages.

There is NO workaround. This is a browser restriction! if your main page is HTTPS your page in the iframe NEEDS to be HTTPS also!

Only the other way around this can be done like described in the blog and in the example.

Best, Michael


Top
 Profile  
 
PostPosted: 14. Apr 2017, 17:00 
Offline

Joined: 14. Apr 2017, 16:54
Posts: 4
My site is https and a few of the iframes I want to post are http (with no https option). I understand this is blocked in some browsers but appears to work just fine in the browsers I've tested. My question is this: can I remove the code that says "Http iframes are not shown in https pages in many major browsers. Please read this post for details."?

If so, where can I turn this text off?


Top
 Profile  
 
PostPosted: 14. Apr 2017, 17:07 
Offline

Joined: 14. Apr 2017, 16:54
Posts: 4
Sorry, I found it in includes>advanced-iframe-main-iframe.php and changed the explanation to a &nbsp; space so now it doesn't show up.


Top
 Profile  
 
PostPosted: 14. Apr 2017, 18:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Which browsers do display this fine? Chrome, IE, FF for Windows for example do not.
Can you show me an url?

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
powered by phpbb | Datenschutz/ Privacy policy