leeleoo / flash-selenium

Automatically exported from code.google.com/p/flash-selenium
0 stars 0 forks source link

FlashobjectId of iframe embedded Flash players #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. FlashobjectId is dynamically generated for video players
2. Without using valid id flashselenium wont work.
3.

What is the expected output? What do you see instead?
Output I see: 
Exception: ERROR: Threw an exception: document[''] is undefined
Tht make sense since we do not have objectid for the document.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Hi,
I am visiting a webpage with flash player embedded (iframe). Here is my code:
URL = “http://cricket-365.tv/2014/india-vs-australia-free-live.html”
sel = selenium(“127.0.0.1″, 4444, “*firefox”,URL)
sel.start()
flashApp = FlashSelenium(sel, ” “) //
sel.open(URL)
print flashApp.is_playing()
sel.stop()
Any idea how to get the flashobjectid automatically for flash players used in 
online streaming websites. I want to automatically visit the page, get the 
flashobjectid of video player (deeply nested iframe), and get the flash vars, 
and check if stream is playing or not. 

Original issue reported on code.google.com by rafique....@gmail.com on 28 Dec 2014 at 10:12