* vlcplugin.h: a VideoLAN plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: vlcplugin.h,v 1.8 2002/11/04 15:04:44 sam Exp $
+ * $Id: vlcplugin.h,v 1.9 2002/11/28 23:53:03 sigmunau Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
/* Ogg */ \
"application/x-ogg:ogg:Ogg stream;" \
/* explicit plugin call */ \
- "application/x-vlc-plugin::VLC plugin"
+ "application/x-vlc-plugin::VLC plugin;" \
+ "video/x-ms-asf-plugin:asf,asx:Windows Media Video;" \
+ "application/x-mplayer2::Windows Media"
* vlcshell.c: a VideoLAN Client plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: vlcshell.cpp,v 1.6 2002/10/25 18:17:59 sam Exp $
+ * $Id: vlcshell.cpp,v 1.7 2002/11/28 23:53:03 sigmunau Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
******************************************************************************/
#ifdef XP_UNIX
# define VOUT_PLUGINS "xvideo,x11,dummy"
-# define AOUT_PLUGINS "dsp,dummy"
+# define AOUT_PLUGINS "oss,dummy"
static void Redraw( Widget w, XtPointer closure, XEvent *event );
#endif
p_plugin->b_autoplay = 1;
}
}
+ else if( !strcmp( argn[i], "autostart" ) )
+ {
+ if( !strcmp( argv[i], "1" ) || !strcmp( argv[i], "true" ) )
+ {
+ p_plugin->b_autoplay = 1;
+ }
+ }
+ else if( !strcmp( argn[i], "filename" ) )
+ {
+ p_plugin->psz_target = argv[i];
+ }
+ else if( !strcmp( argn[i], "src" ) )
+ {
+ p_plugin->psz_target = argv[i];
+ }
+
#if USE_LIBVLC
else if( !strcmp( argn[i], "loop" ) )
{
#if USE_LIBVLC
VlcPlugin* p_plugin = (VlcPlugin*)instance->pdata;
- VLC_AddTarget( p_plugin->i_vlc, fname,
- PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );
+/* VLC_AddTarget( p_plugin->i_vlc, fname,
+ PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );*/
#endif
}