Discussion:
Can I use external domain with jQuery media plugin ?
Sourabh
2010-02-16 06:17:18 UTC
Permalink
Hello

it is about jQuery media plugin (http://malsup.com/jquery/media/
misc.html)


Can I use


<a id="mike" class="media {type: 'html'}" href="http://
www.google.co.in">

This to load EXTERNAL DOMAIN html page in an iframe that media plugin
I create.
When I tried above code it did not work.Do I need to do anything else
for this ?

Thanks in advance
Scott Stewart
2010-02-16 15:46:16 UTC
Permalink
From what I've seen the answer is no..
The workaround is to build a redirect page in whatever backend processing
language you're using (ColdFusion, JSP, .Net, PHP), then call the redirect
page in the href.

-----Original Message-----
From: jquery-***@googlegroups.com [mailto:jquery-***@googlegroups.com] On
Behalf Of Sourabh
Sent: Tuesday, February 16, 2010 1:17 AM
To: jQuery (English)
Subject: [jQuery] Can I use external domain with jQuery media plugin ?

Hello

it is about jQuery media plugin (http://malsup.com/jquery/media/
misc.html)


Can I use


<a id="mike" class="media {type: 'html'}" href="http://
www.google.co.in">

This to load EXTERNAL DOMAIN html page in an iframe that media plugin
I create.
When I tried above code it did not work.Do I need to do anything else
for this ?

Thanks in advance
Mike Alsup
2010-02-22 17:13:45 UTC
Permalink
Post by Sourabh
it is about jQuery media plugin (http://malsup.com/jquery/media/
misc.html)
Can I use
  <a id="mike" class="media {type: 'html'}" href="http://www.google.co.in">
This to load EXTERNAL DOMAIN html page in an iframe that media plugin
I create.
Yes, this should work. The media plugin just creates an iframe for
this content.

Loading...