In a desktop air application, I managed to play YouTube and Vimeo video's.
I use mx:HTML to load a html page which contain a YouTube or Vimeo player.
My problem is, how can I stop the playback of these video's?
Suppose my object is like:
somewhere I write:
webView.location = "myVideoPlayerUrl";
now my video starts to play.
When I try webView.location = ""; of webView.location = null; nothing happens, that is, I can still hear the video playing!
Even removing webView form the displayList does nothing.
Retrieving data ...