Basically what I'm trying to do is have one window playing a video with the vlc plugin (http://wiki.videolan.org/Windows#VLC_Plugin_for_Firefox_.28Mozilla.29) and another with buttons for play and pause. I have this working with the controls and video in one window but can't get it to work with them is separate windows. Any advice?
Sure: Give links to the videos so we can download them instead of trying to fuck us with Javascript. Anyone know uses the VLC plugin already knows how to rip the videos from your site in the first place.
Name:
Anonymous2007-05-20 20:06 ID:xf7ynFIa
Er this isn't about downloading videos. Ill restate what I said earlier.
I want to use javascript to control an embedded object in one window with buttons in another window.
Name:
Anonymous2007-05-20 20:16 ID:BuGzy1Sj
What are you trying to use right now? window.parent?
Name:
Anonymous2007-05-20 20:20 ID:BuGzy1Sj
I had a script that calculated an MD5 hash of a file in a seperate window (in the pre-AJAX days) using a popup, this is how I did it:
Popup-window javascript: try
{
window.opener.md5_set( 123, "2d875749ed98601021a46169e9470958" );
}
catch( e )
{
alert( "Unhandled exception:\n"+ e );
}
Other page defines md5_set: // Called to open the popup window
function md5c( idl, rfl )
{
window.open( "md5.php?idl=" + idl + "&rlf=" + escape( rfl ), "md5c_" + idl, "width=400,height=50" );
}
function md5_set( idl, hash )
{
// do some shit
}
This (as you can see) only works if one script opens the other window.
Name:
Anonymous2009-03-06 6:58
The fuck out tripfag?
Name:
Anonymous2009-03-06 11:12
with words since language is and has done nothing since except write essays and a five minute hack that I produced for my own enjoyment.