Solved

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

Posted on 2010-11-21
5
817 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
ID: 34184277
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
ID: 34184633
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
ID: 34226580
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
ID: 34265299
fixed it myself
0
 
LVL 10

Expert Comment

by:shahzadbux
ID: 35199390
jacksmind - could you explain how you fixed this yourself please?
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

910 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

21 Experts available now in Live!

Get 1:1 Help Now