Set Video Player

You can configure video properties with these commands:


videoplayer_dimension, videoplayer_xy, video_ctrl, video_pause, video_player and video_close.

below you will find the description of each individual command.


videoplayer_dimension (WIDTH) (EIGHT)


Set the dimension of the videoplayer, Width and Height are expressed in pixels.

Example

videoplayer_dimension 640 420
#...

videoplayer_xy (X) (Y)


Example

videoplayer_xy 400 50
#...

video_ctrl (ID) (TIME) process (MAKESUB_ID)


Example

# create mksub function named playsound
make_sub playsound
sub playsound mp3_load sound.mp3
sub playsound sleep 5
# load playsound function at time :00:00:23
video_ctrl video_id 00:00:23 process myfunction
#...

video_player (YOUTUBE_VIDEO) (SEC)


Example

# create mksub function named playsound
make_sub playsound
sub playsound mp3_load sound.mp3
sub playsound sleep 5
# load playsound function at time :00:00:23
video_ctrl video_id 00:00:23 process myfunction
# finally ..load and play then video..
video_player http://www.youtube.com/watch?v=your_Video_code 120
#...

video_pause


Example

video_player http://www.youtube.com/watch?v=your_Video_code 120 sleep 10 #PAUSE video_pause sleep 10 #PLAY video_pause #...
#for close videoplayer #video_close
Powered by Sgneep.com