The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > AppleScripting Omni Apps
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Watching Youtube videos in HD with OW5.8 & VLC Thread Tools Search this Thread Display Modes
Hello,

I like to watch video from youtube using VLC, it's very light in CPU usage, favorites videos can be saved in playlists and I can continue surfing while watching videos with vlc. Very handy.

I wrote this little applescript to add the url to the playlist of vlc from Omniweb for instant or later watching.

Code:
tell application "OmniWeb"
	--get the mp4 video url from Omniweb
	set current_url to the address of active tab of browser 1
	set current_url to current_url & "&fmt=18"
end tell
tell application "VLC"
	--add the new url to the library of the playlist in vlc
	GetURL current_url
end tell
hope to be understood

Last edited by sangheeta; 2008-10-11 at 02:36 PM..
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
YouTube videos won't play Tesseract OmniWeb Bug Reports 5 2008-03-28 12:17 AM


All times are GMT -8. The time now is 06:02 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.