Solved

open browser and launch flash video automatically in full screen in linux

Posted on 2010-11-21
5
816 Views
Last Modified: 2012-05-10
I have a list of links to videos that I want to open one after another automatically and play fullscreen.  I could script some of this but the problem is that I'm not quite sure how to launch a browser to a link and have it automatically launch the flash video on the page.  I'm not sure if there is a command line argument that will do something like that.  I'm afraid that I may have to resort to a mouse macro (which sounds like a really horrible way of doing things).  Does anyone have a better solution for me, or if not can recommend a mouse macro program for linux that I can launch from the command line?

Thanks!
jack
0
Comment
Question by:jacksmind
  • 3
5 Comments
 
LVL 13

Expert Comment

by:Superdave
Comment Utility
You might want to consider forgetting about the browser, and finding a script to download the videos, and playing them full-screen with mplayer.  I used to have a Python script called youtube-dl.txt, and there used to be a bash script out there, although they are always playing catch-up with changes to Facebook and YouTube, so you have to search the internet for a recent version and hope they work.  But if you can find a script that works with the sites you want to use, it would be an easy matter to call the script from another script and display the file.

Otherwise, if you want it done in the browser, the thing that comes to my mind would be User Javascript/GreaseMonkey, but that would affect all your browsing at least to the sites you specify.

I don't know anything about mouse macros but if you can get such a thing to work it might actually be easier than anything else.
0
 

Author Comment

by:jacksmind
Comment Utility
Unfortunately the streams are secured (think trying to download from hulu) so grabbing the stream by any conventional means is not possible.  I'll look into greasemonkey but somehow I doubt there's a fullscreen plus autoplay script. Maybe, not sure.
0
 

Accepted Solution

by:
jacksmind earned 0 total points
Comment Utility
For the record.  You might be able to modify the html to autoplay but it is a flash security feature to not allow auto fullscreen.  If you modify the source, you can change the dimensions of the frame and that may fit your needs.
0
 

Author Closing Comment

by:jacksmind
Comment Utility
fixed it myself
0
 
LVL 10

Expert Comment

by:shahzadbux
Comment Utility
jacksmind - could you explain how you fixed this yourself please?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now