HBCMS更多的中文手册参考:

stop Method

DHTML文档教程

Stops playback of the media that is currently playing.

dhtml语法

mediaBar.stop()

Return Value

No return value.

Remarks

When the current instance of the Media Bar behavior is unloaded—in other words, during dynamic navigation in the Media Bar燞TML content area, or when the content area is refreshed—the currently playing media stops. This design helps protect user privacy. However, developers should be aware of this functionality when designing dynamic content for the Media Bar content area, and consider other strategies to maintain the currently playing instance of the behavior. The iframe and xmlhttprequest objects provide a couple of possibilities.

if a second call to the stop method is made within 10 seconds of the first call, the media pane loads a default page. this occurs even when the stop method call is made because the current instance of the media bar behavior is unloaded.

applies to

mediaBar