potplayer 网页调用potplayer播放本地视频

 

网页调用potplayer播放本地视频

CreateTime--2018年1月3日10:36:24

Author:Marydon

源码展示:

DOCTYPE html>
<html>
    <head> 
        <meta content="text/html;charset=UTF-8">
        <title>网页调用potplayer播放本地视频title> 
    head>
    <body>
        <object id="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" style="width: 500px; height: 500px">
            
            <param NAME="AutoStart" VALUE="-1">
            
            <param NAME="Balance" VALUE="0">
            
            <param name="enabled" value="-1">
            
            <param NAME="EnableContextMenu" VALUE="-1">
            
            <param NAME="url" VALUE="E:/钢之炼金术师/[钢之炼金术师FA][1-64完][诸神字幕组][中日双字幕]/01.rmvb">
            
            <param NAME="PlayCount" VALUE="1
            
            rate" value="1">
            
            <param name="currentPosition" value="0">
            
            <param name="currentMarker" value="0">
            
            <param name="defaultFrame" value="">
            
            <param name="invokeURLs" value="0">
            
            <param name="baseURL" value="">
            
            <param name="stretchToFit" value="0">
            
            <param name="volume" value="50">
            
            <param name="mute" value="0">
            
            <param name="uiMode" value="Full">
            
            <param name="windowlessVideo" value="0">
            
            <param name="fullScreen" value="0">
            
            <param name="enableErrorDialogs" value="-1">
            
            <param name="SAMIStyle" value="">
            
            <param name="SAMILang" value="">
            
            <param name="SAMIFilename" value="">
        object>
    body>
html>

效果展示:

注意:
  1.ie浏览器下可以正常播放;
  2.路径要用"/"别用"\",否则会播放不出来哦!

 

 

你可能感兴趣的:(potplayer 网页调用potplayer播放本地视频)