Skip to content

Commit

Permalink
2.4.7 version published.
Browse files Browse the repository at this point in the history
1、added skin for vodFoream
2、fix some bugs.
-------------------
2.4.7版本发布
1、增加vodFoream皮肤。
2、修复一些问题。
  • Loading branch information
jackzhang1204 committed Sep 11, 2014
1 parent 52985fd commit 543248b
Show file tree
Hide file tree
Showing 91 changed files with 5,990 additions and 90 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = function(grunt) {
var comments = '/*\n' +
' * Name: SewisePlayer framework 2.4.6\n' +
' * Name: SewisePlayer framework 2.4.7\n' +
' * Author: Jack Zhang\n' +
' * Website: http://player.sewise.com\n' +
' * Date: August 15, 2014\n' +
' * Date: September 10, 2014\n' +
' * Copyright: 2013-2014, Sewise\n' +
' * Mail: [email protected]\n' +
' * QQ: 1324999535\n' +
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Support for [jQuery](http://jquery.com/) HTML player skins.

Demos: [Vod点播](http://219.232.161.204/libs/swfplayer/player/vod.html) | [Live直播](http://219.232.161.204/libs/swfplayer/player/live.html) | [Flowplayer皮肤](http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_skin_flowplayer.html) | [Simple简单](http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_simple.html) | [Fallback地址](http://jackzhang1204.github.io/sewise/sewise_player/demos/fallback_url.html) | [Bootstrap支持](http://jackzhang1204.github.io/sewise/sewise_player/demos/bootstrap.html) | [More更多](http://jackzhang1204.github.io/sewise/sewise_player/demos/index.html)
Demos: [Vod点播](http://219.232.161.204/libs/swfplayer/player/vod.html) | [Live直播](http://219.232.161.204/libs/swfplayer/player/live.html) | [Flowplayer皮肤](http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_skin_flowplayer.html) | [Fallback地址](http://jackzhang1204.github.io/sewise/sewise_player/demos/fallback_url.html) | [Bootstrap支持](http://jackzhang1204.github.io/sewise/sewise_player/demos/bootstrap.html) | [M3u8跨平台](http://jackzhang1204.github.io/sewise/sewise_player/demos/m3u8_cross_platform.html) | [More更多](http://jackzhang1204.github.io/sewise/sewise_player/demos/index.html)


## What is Sewise Player?
Expand Down
4 changes: 2 additions & 2 deletions demos/bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
skin : "vodFlowPlayer",
topbardisplay : 'disable',
fallbackurls : {
ogg: "http://www.w3schools.com/html/mov_bbb.ogg",
webm: "http://www.w3schools.com/html/mov_bbb.webm"
ogg: "http://jackzhang1204.github.io/materials/mov_bbb.ogg",
webm: "http://jackzhang1204.github.io/materials/mov_bbb.webm"
}
});
setuped = true;
Expand Down
34 changes: 18 additions & 16 deletions demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,36 @@
<h3>演示例子链接</h3>
<div class="main">
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_videourl_mp4.html">点播MP4视频播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_videourl_flv.html">点播FLV视频播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_sourceid.html">点播节目ID视频播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/live_streamurl_rtmp.html">直播RTMP流播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/live_streamurl_http.html">直播HTTP流播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/live_pid.html">直播节目ID播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/flash_m3u8.html">Flash m3u8播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/flash_m3u8_aes_128.html">Flash m3u8 AES-128解码播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/setup_parameters.html">启动参数设置模式</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/fallback_url.html">HTML5播放回退兼容地址</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/flash_fallback_html5.html">Flash回退HTML5兼容地址播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/audio.html">音频播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/play_piece_time.html">时间片断播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/add_remove_player.html">添加删除播放器</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/poster.html">海报预览</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/color_skin.html">换色皮肤</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/multiplay.html">多重播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_skin_flowplayer.html">仿Flowplayer皮肤</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/m3u8_cross_platform.html">M3u8跨平台播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/json_url.html">JSON地址集</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_skin_flowplayer.html">仿Flowplayer皮肤</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/bootstrap.html">Bootstrap框架支持</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/bootstrap_json_url.html">Bootstrap框架JSON地址</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/ads_banner.html">侧栏广告播放功能</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_hide_topbar.html">隐藏顶部</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_simple.html">简单模板</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/fullscreen_control.html">全屏控制</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/subtitles.html">字幕</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/setup_parameters.html">启动参数设置模式</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_foream.html">Foream皮肤</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/fallback_url.html">HTML5播放回退兼容地址</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/flash_fallback_html5.html">Flash回退HTML5兼容地址播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/add_remove_player.html">添加删除播放器</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/poster.html">海报预览</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/audio.html">音频播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/flash_m3u8.html">Flash M3u8播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/flash_m3u8_aes_128.html">Flash M3u8 AES-128解码播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_api.html">点播API接口</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/live_api.html">直播API接口</a>

<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/vod_videourl_flv.html">点播FLV视频播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/live_streamurl_rtmp.html">直播RTMP流播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/live_streamurl_http.html">直播HTTP流播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/play_piece_time.html">时间片断播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/color_skin.html">换色皮肤</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/multiplay.html">多重播放</a>
<a target="_blank" href="http://jackzhang1204.github.io/sewise/sewise_player/demos/subtitles.html">字幕</a>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
Expand Down
15 changes: 15 additions & 0 deletions demos/m3u8_cross_platform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>M3u8 Cross Platform</title>
</head>
<body>
<div style="width: 600px;height: 400px;">
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=m3u8&videourl=http://116.77.32.202:5080/data/userdata/vod/resource/201408/21141727.flv.m3u8&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=M3U8跨平台播放&buffer=5&claritybutton=disable&skin=vodFlowPlayer"></script>
</div>
<div style="padding: 20px;float: left;">注:如果当前平台为PC,播放器将启用Flash播放m3u8文件。如果当前平台为Mobile,播放器将启用HTML5播放m3u8文件。</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
</html>
2 changes: 1 addition & 1 deletion demos/poster.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<div style="width: 640px; height: 352px; ">
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=false&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=Vod Video 视频&buffer=5&poster=http://www.sewise.com/data/attachment/portal/201402/10/120117q992dwsgns5cxzoz.png&skin=vodWhite&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.webm%22%0A%7D"></script>
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=false&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=Vod Video 视频&buffer=5&poster=http://www.sewise.com/data/attachment/portal/201402/10/120117q992dwsgns5cxzoz.png&skin=vodWhite&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.webm%22%0A%7D"></script>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion demos/vod_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<div style="width: 640px; height: 352px; ">
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo 点播标题&buffer=5&skin=vodWhite&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.webm%22%0A%7D"></script>
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo 点播标题&buffer=5&skin=vodWhite&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.webm%22%0A%7D"></script>
</div>
<script>
//点播接口调用方法
Expand Down
58 changes: 58 additions & 0 deletions demos/vod_foream.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
<title>Sewise Player</title>
<style type="text/css">
body{
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<div style="width: 605px; height: 340px; margin:50px 200px; padding: 30px; border:5px solid #CCC; ">
<script type="text/javascript" src="../player/sewise.player.min.js"></script>
<script type="text/javascript">
SewisePlayer.setup({
server: "vod",
type: "mp4",
lang: 'en_US',
videosjsonurl: {
"programname":"JSON URL",
"videos": [
{
"key": 0,
"clarity": "low",
"name": "Low",
"url": "http://netdisk.foream.cn:8080/netdisk/iface/downloadOpen?fileId=42324&quality=0"
},
{
"key": 1,
"clarity": "normal",
"name": "Normal",
"url": "http://netdisk.foream.cn:8080/netdisk/iface/downloadOpen?fileId=42324&quality=1"
},
{
"key": 3,
"clarity": "original",
"name": "Original",
"url": "http://netdisk.foream.cn:8080/netdisk/iface/downloadOpen?fileId=42324"
}
]
},
skin: "vodFoream",
logo: "http://www.foream.cn/public/good/img/home/foream-logo-white-320.png",
topbardisplay: "disable",
fallbackurls:{
ogg: "http://jackzhang1204.github.io/materials/mov_bbb.ogg",
webm: "http://jackzhang1204.github.io/materials/mov_bbb.webm"
}
});
</script>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
</html>
2 changes: 1 addition & 1 deletion demos/vod_simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<div style="width: 640px; height: 352px; ">
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=false&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo&buffer=5&skin=vodFlowPlayer&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.webm%22%0A%7D&controlbardisplay=disable&topbardisplay=disable"></script>
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=false&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo&buffer=5&skin=vodFlowPlayer&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.webm%22%0A%7D&controlbardisplay=disable&topbardisplay=disable"></script>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion demos/vod_skin_flowplayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</head>
<body>
<div style="width: 640px; height: 352px; margin:50px; padding: 20px; border:5px solid #999;">
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo&buffer=5&skin=vodFlowPlayer&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.webm%22%0A%7D"></script>
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo&buffer=5&skin=vodFlowPlayer&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.webm%22%0A%7D"></script>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion demos/vod_videourl_mp4.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</head>
<body>
<div style="width: 640px; height: 352px; margin:50px; padding: 20px; border:5px solid #999;">
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo&buffer=5&skin=vodWhite&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fwww.w3schools.com%2Fhtml%2Fmov_bbb.webm%22%0A%7D"></script>
<script type="text/javascript" src="../player/sewise.player.min.js?server=vod&type=mp4&videourl=http://jackzhang1204.github.io/materials/mov_bbb.mp4&autostart=true&starttime=0&lang=zh_CN&logo=http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png&title=VodVideo&buffer=5&skin=vodWhite&fallbackurls=%7B%0A%09%22ogg%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.ogg%22%2C%0A%09%22webm%22%3A%20%22http%3A%2F%2Fjackzhang1204.github.io%2Fmaterials%2Fmov_bbb.webm%22%0A%7D"></script>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fock it on GitHub</a></div>
</body>
Expand Down
Binary file added player/flash/skins/vodFoream.swf
Binary file not shown.
1 change: 1 addition & 0 deletions player/html/skins/liveOrange/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ div.sewise-player-ui div.logo a.logo-icon {
height: 27px;
background: url("logo.png") 0px 0px no-repeat;
text-indent: -10000px;
pointer-events: auto;
}


Expand Down
Loading

0 comments on commit 543248b

Please sign in to comment.