Popup windows for web videos - Post...

User 2147473 Photo


Registered User
156 posts

Hello,

Is it possible that when clicked my web video can open up in a popup window without leaving the parent page? Currently, I'm creating additional like pages that open with the video player when a link is clicked, which may be best anyway since popups are often blocked nowadays. If popups are a bad idea, other suggested options that are more efficient and modern would be appreciated.

Matthew :/
User 2147473 Photo


Registered User
156 posts

Okay, I assume either there's no thoughts on this one, or its been covered. If the later, please forgive my redundance. Although I searched, I'll try searching some more. :P

Matthew
User 117361 Photo


Ambassador
6,076 posts

You haven't said what software you are using to build the site... that might help someone come up with an answer. But anyway, you are probably going to have to insert some javascript to do what you want I think... so do a little research on free javascripts to find out how to create your popup windows.

Nonetheless, you are right about popups being blocked and another alternative I can think of (and it horrifies me!!) is to use frames so that you can retain everything on the same page. But that would not be a "modern and efficient" alternative to my mind. Why don't you also do a little research as to what css can offer you?
Take a look here...
http://www.cssplay.co.uk/
User 364143 Photo


Guest
5,410 posts

Clicking the video itself won't bring it up in a new page or popup. The program just doesn't work like that.

There are some scripts available that allow a visitor to click on a link or an image link that has a video embedded in a popup. Here is one example

http://videobox-lb.sourceforge.net/
CoffeeCup... Yeah, they are the best!
User 131437 Photo


Ambassador
151 posts

I think what Matthew is talking about is the "pop-up" illusion. When a visitor either clicks on the link or hovers over an area content suddenly becomes visible over top of the original content. This is done with a very long bit of Javascript. If you are feeling very good about your skills these guys have a pretty simple, easy to use example/sample code: http://javascript.internet.com/navigation/absolute-popup-box.html .

Because it is such a complex code I prefer to use the pop-up control in the AJAX control toolkit with asp .net framework. It is much easier to implement and test.

If you're not a MS Visual Studio guy maybe one of the Linux geeks know if there is a php equivalent out there, although I'm doubtful (still waiting for the php version of masterpages. :lol:
Visit <a href="http://leviabbott.com" target="_blank">LeviAbbott.com</a>!
User 364143 Photo


Guest
5,410 posts

Yes, I know. The popupbox solution I linked to will not be blocked by browsers and is very easy to use. It is very cool. Just like Lightbox and Interstitial.
CoffeeCup... Yeah, they are the best!
User 2147473 Photo


Registered User
156 posts

Great suggestions everyone; thanks for your input. Levi is correct in that I was looking for a sleek way for visitors to hover over or click a link and the video appears for viewing on the page area. Tom, I think I read somewhere else in the forums about Lightbox. I'll have to look at it again. I'm pretty much a newbie with web design and currently use VSD along with other CC programs that help beginners like me. Thanks though for your help guys. Glad to be a part of the Coffeecup family :)

Matthew
User 364143 Photo


Guest
5,410 posts

Lighbox won't work for video. You have to use Videobox.

This could all be done with CSS techniques, as well.
CoffeeCup... Yeah, they are the best!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.