Flash FLV: Stop FLV with a link on the page?
Posted on 2008-10-17
I've got a bit of a quagmire going here... I've got an .FLV that loads on my page above other content. Fortunately, the .flv is wmode=transparent, which allows the underlying elements to show through. Once the .FLV is done, it disappears...... but not really. The containing DIV is still there. And when you hove over the video, the control bar appears/disappears. The width/height parameters of the div and flv persist in overlapping the content on the page.
My work around to this was to add a "hide" tab to the containing div. The user clicks the hide tab, the div and its contained elements (flv) go away.
The problem here is that flv continues to play. Its gone, but you can still hear it. Is it possible to pass a flash variable to stop the video from playing when the user clicks on the hide link?