-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1、added skin for vodFoream 2、fix some bugs. ------------------- 2.4.7版本发布 1、增加vodFoream皮肤。 2、修复一些问题。
- Loading branch information
1 parent
52985fd
commit 543248b
Showing
91 changed files
with
5,990 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' + | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.