IAmediaworks
Member
Posted 2 years ago #
So I tried to use this with a youtube video as inline content.
Here's the code I used:
[thkBC height="500" width="800" anchortext="Testimonial One" title="Testimonial One" type="inline" html_wrap="p" inline_id="inlinecontent"]
<div id="inlinecontent">
When testing the page and clicking the link, I get "the URL is not valid and cannot be loaded."
The URL (from the status bar in FF) is http:///?TB_iframe=true&width=720&height=540
Any thoughts?
Thanks!
http://wordpress.org/extend/plugins/thickbox-content/
I have done YouTube videos in a ThickBox myself and they worked. I would have to see the actual page to be able to determine the problem.
IAmediaworks
Member
Posted 2 years ago #
Still under development.
http://208.100.49.73/~studioda/site/?page_id=14
The link between the two videos, which says "Testimonial One"
Thanks!
M.
@IAmediaworks - Thanks for posting the links. I just tried the following code and it works on my WP setup. Try copying and pasting into your site and see if it works.
[thkBC height="420" width="650" anchortext="Link Anchor Text" title="ThickBox Title" type="inline" html_wrap="p" inline_id="inlinecontent"]
<div id="inlinecontent"><div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/EC_ECpWMWLo&rel=0&hl=en_US&feature=player_embedded&version=3" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="390" src="http://www.youtube.com/v/EC_ECpWMWLo&rel=0&hl=en_US&feature=player_embedded&version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object></div></div>
IAmediaworks
Member
Posted 2 years ago #
Hey Max!
Nope - same result. :(
This is weird... not sure what could be going wrong since I'm using WP 3.0.4 and the v1.0.3 of the plugin.
In your example I see that the generated link has iframe parameter within the URL, but it should be similar to this
#TB_inline?height=420&width=650&inlineId=inlinecontent
Honestly I don't see a reason why it shouldn't work. The only issue there might be is with the URL parameters because you don't have the permalinks activated. See if activating permalinks will change anything.
IAmediaworks
Member
Posted 2 years ago #
Hey again!
Did it - same thing. And the code you're seeing is the code you sent pasted in.
Thanks!
M.
@IAmediaworks - another user found out that there is a conflict with Auto Thickbox plugin see this post.