⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xliteplayerreadme.txt

📁 多媒体播放器
💻 TXT
字号:
#############################
REQUIREMENTS
#############################

ASP.NET 2.0 Web Application

NOTE: This will not work on any type of Linux/UNIX based web server.
In addition, this will not work on the Apache web server for Windows either.

############################
INSTALLATION INSTRUCTIONS
############################

1. Unzip the file you downloaded to a directory of your choice.
2. Locate the files you just unzipped and open the xLitePlayer folder.
3. Copy the files/folders to your website project or a single website project.
4. Adjust the permissions on the following folders in your website to allow Modify access:
	1. xLitePlayer_data
	2. xLitePlayer_img
	3. xLitePlayer_media

NOTE: Most likely the modify access will have to be granted to the Anonymous account.
      You need to modify these permissions so the management tool will work.

###############################################
HOW TO USE xLite Player in your ASPX web page
###############################################

Below is the code you will need to add to have 
xLite Player on your web page:
---------------------------------------

1. Register the control to the web page. (NOTE: this is above your HTML tags)

<%@ Register Src="xPlayer.ascx" TagName="xPlayer" TagPrefix="xLitePlayer" %>


2. Add the control to your web page via the following text:

<xLitePlayer:xPlayer id="XPlayer1" runat="server"></xLitePlayer:xPlayer>

Note: This aspx page needs to be on the root of your website to work properly

sample.aspx provides an example of how to implement the code above.

##############################################
HOW TO USE xLite Player Management Tool
	in your ASPX web page
##############################################

Below is the code you will need to add the xLite Player 
Management tool on one of your ASPX web pages
----------------------------------------------

1. Register the control to the web page. (NOTE: this is above your HTML tags)

<%@ Register Src="xPlayerManage.ascx" TagName="xPlayerManage" TagPrefix="xLitePlayerM" %>

2. Add the control to your web page via the following text:

<xLitePlayerM:xPlayerManage id="XPlayerM1" runat="server"></xLitePlayerM:xPlayerManage>

Note: This aspx page needs to be on the root of your website to work properly.



#############################################
HOW TO CHANGE THE BACKGROUND COLOR
	OF xLite Player
#############################################

To change the background color of the media player, please change the following in the
xPlayer.ascx file:

1. Locate the following code:

<script type="text/javascript">
        
        //change this backColor to match the background
        //color of your web page.
        var backColor = "#FFFFFF";
        
        function getMovieDetail(name)
        {
           var message = name;
           var context = '';
                       
           <%=sCallBackFunctionInvocation%>
        }

        function OnError(message, context) 
        {
           alert('An unhandled exception has occurred:\n' + message);
        }
        
</script>

2. Locate the "#FFFFFF" towards the top of the code section.
3. Change the "#FFFFFF" to any other HTML HEX color (i.e., #000000, #F5F5F5).

NOTE: Please do not modify any other part of the code section.


#############################
EMAIL SUPPORT
#############################

support@xdevsoftware.com

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -