Windows mediaplayer image switching (also applicable to status changes of other plug-ins ):

Source: Internet
Author: User

Windows mediaplayer image switching (also applicable to status changes of other plug-ins ):

I. Public Variables
Bready: A preparation variable. If the preparation variable is not set to true, the status does not change.
Bseq: True indicates a clip, and false indicates a stream program. In both cases, the change of the play button is different.

Ii. Mouse status

Stop button:
Mover: Stop-Stop: Disable
Others-stop: hot
MOUT: Stop-Stop: Disable
Others-stop: normal
Play button:
Mover: Run-play: Disable
Others-play: hot
MOUT: Run-play: Disable
Others-play: normal

Iii. Event status
Do not place image changes in the Click Event function and put them in the event status function for processing.

Control status change event:

Undefined status (0 ):
Play: normal
Stop: normal
Stop (1 ):
Play: normal
Stop: Disable
Pause (2 ):
Play: pause_noraml
Play:
Play: stream mode: Disable fragment mode: pause_normal
Stop: normal

Others: omitted

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.