i try to access the mobile version of instagram frome iframe using chrome browser on desktop, i tryed change user agent of browser, when i access instagram.com from chrome i get the mobile version of instagram, but from my iframe i get the desktop version.
the code of ifram page is :
<html>
<head>
</head>
<body>
<iframe src="https://www.instagram.com" width="288" height="466" frameborder="0"></iframe<
</body>
</html>
Related
I am trying to use Skype for business URIs to open on an IPad from safari browser. But whenever I click on link its not showing popup for opening Skype for business app. It's working fine for chrome and other browsers on IPad, but not for safari. Here is the code for it:
<!DOCTYPE html>
<html>
<head>
<script>
function myfunction() {
window.open("sip:","_self")
}
</script>
</head>
<body>
IM for desktop
</body>
</html>
My website isn't working on Chrome but it is working fine on Mozilla after I added a script for displaying ads from Propeller Ads on my website.
The script is like:
<script type='text/javascript' src='//go.oclasrv.com/apu.php?zoneid=XXXXXX'></script>
And the head tag for verification is:
<meta name="propeller" content="68aeXXXXXXXXXXXXXXXXXXXX75" />
I don't have adblock enabled. Is there any problem with the priority of loading of the scripts?
Try to use the Chrome incognito window to see the changes in your website. Because in the normal window the browser is loading the cache.
The source code is :
<iframe id="privacy-frame" frameborder="0"
src="http://www.cnn.com/partners/mobile/v2/privacy.policy/"
style="width: 100%; background-color:#fff">
</iframe>
When i try to browse the page http://mobile-demo.turner.com/election/tos.html in iphone the internal links doesn't work.
But if i try to browse the page with src URL(http://www.cnn.com/partners/mobile/v2/privacy.policy/) it works.
Is this some issue with iFrame on iphone? Same code does work on Android browser or desktop browser.
I'm trying to embed a video from Kaltura Video Platform in a HTML5 page.
I followed the docs at Kaltura. So far I'm able to play the video in Safari, Chrome and Internet Explorer but it fails to load in Firefox. The firebug console shows this javascript error:
ReferenceError: kWidget is not defined
The HTML5 code demostrating the issue follows (see fiddle for a live demo):
<!DOCTYPE html>
<html>
<head>
<title>test</title>
</head>
<body>
<iframe id="iframe_-1" src="http://www.kaltura.com/p/403921/sp/40392100/embedIframeJs/uiconf_id/4438451/partner_id/403921?iframeembed=true&playerId=iframe_-1&entry_id=1_40ttmxyq" width="400" height="330" allowfullscreen webkitallowfullscreen mozAllowFullScreen frameborder="0">
Video Platform
Video Management
Video Solutions
Video Player
</iframe>
</body>
</html>
What puzzles me is that only Firefox is complaining. Has anybody experienced the same issue? Is some sort of cross-domain issue?
Older versions of mwEmbed had a bug with the iframe embed ( 1.7.1.11 ) .
Please try upgrading to the latest stable release ( 1.8.7 ). Here is a sample test page working in firefox with that version.
Note the test page is doing something a lite different ( invocation via lightbox ), but the basic point is if you update that uiConf to 1.8.7 everything should work fine.
in a blackberry webworks application i try to load a page into an iframe that is packaged with the app, but the app keeps crashing (it opens the splash screen and doesnt load anything)
The page i want to load is located at (relative to the index.html of my app):
./pages/help_en/home.html
and i tried to load it with this paths:
pages/help_en/home.html
./pages/help_en/home.html
local:///pages/help_en/home.html
but all of them lead to that crash.
When i load it from an external server, it works fine...
Maybe i should also mention, that it only happens on Smartphones, on PlayBook (Tablet) it works fine.
Any help would be appreciated, thank you in advance!
The below code sample should work to load a local page (within the app) into an iframe. It also uses the same folder structure as yours. It has been tested and packaged into a WebWorks app and loaded onto a device and the page loads properly in the iframe. Along with a main page, ensure that you also include a config.xml file.
<!DOCTYPE html>
<html>
<head>
<title>Iframe</title>
<meta id="viewport" name="viewport"
content="initial-scale=1.0,width=device-width,user-scalable=no,target-densitydpi=device-dpi"/>
<script type="text/javascript">
function changeSrc(){
document.getElementById('theFrame').src = "pages/help_en/home.html";
}
</script>
</head>
<body>
Iframe is below<br/>
<button onclick="changeSrc()">click me</button><br/>
<iframe id="theFrame" src=""></iframe>
</body>
</html>