Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Tue May 24, 2011 8:08 am Reply with quote

I'm trying to use the youtubelink colorbox class to open youtube videos on my site.

An example of code I am using is this:

Code:
<a class="youtubelink" href="http://www.youtube.com/watch?v=tI0YZNymm90"><img border="0" src="/uploads/image/burningfeet.jpg" alt="Burning feet Barefoot racing" /></a>


The class in my jquery.colorbox.php file is this:

Code:
$(".youtubelink").colorbox({iframe:true, innerWidth:620, innerHeight:385});


However, when I click the image to open the youtube video, this is what I get:(better than try to explain, I've posted a screenshot)

Image

EDIT: I suppose I should add that I get the same result in both IE and FF browsers.
 
View user's profile Send private message
myrtletrees







PostPosted: Tue May 24, 2011 8:21 am Reply with quote

AH HA! I fixed it!!

Just changed the code in jquery.colorbox file from:
Code:
$(".youtubelink").colorbox({iframe:true, innerWidth:620, innerHeight:385});


To this:

Code:
$(".youtubelink").colorbox({iframe:true, width:"620", height:"385"});
 
killing-hours
RavenNuke(tm) Development Team



Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Tue May 24, 2011 10:23 am Reply with quote

You know... you were part of the deciding factor for me to come up with a gallery module. Think you posted somewhere about coppermine not handling youtube or some other video format. Wink

Announced here if you haven't seen this yet.

http://www.ravenphpscripts.com/postt19963.html

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett 
View user's profile Send private message
myrtletrees







PostPosted: Tue May 24, 2011 11:17 am Reply with quote

killing-hours wrote:
You know... you were part of the deciding factor for me to come up with a gallery module. Think you posted somewhere about coppermine not handling youtube or some other video format. Wink

Announced here if you haven't seen this yet.

http://www.ravenphpscripts.com/postt19963.html


Yep. That was me. I use Coppermine and a separate Video module for now. I am posting in your topic so I can follow your progress.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©