Action Script 3 how to detect the player domain

Source: Internet
Author: User
Detect player Domains
 

The URL and domain of the webpage on which the user views the media content are not always available. If the hosted website permits, you can use the externalinterface class to obtain the exact URL. However, some websites that allow third-party video players are not allowed to use externalinterface. In this case, you canPagedomainProperty to obtain the domain of the current web page. The complete URL is not disclosed for the sake of user security and privacy.

The page domain can be static through the security classPagedomainAttribute acquisition:

VaR domain: String = Security. pagedomain;

 

Http://help.adobe.com/zh_CN/as3/dev/WS901d38e593cd1bac61bb910e130015e4804-8000.html

Action Script 3 how to detect the player domain

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.