Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2013-12-21 19:59:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a744308e97c20c08017ee3a27b9be28962fc0f56
a744308e
1 parent
0967ec5e
use version to anti swf cache.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
trunk/research/players/js/srs.js
trunk/research/players/js/srs.js
查看文件 @
a744308
...
...
@@ -158,7 +158,6 @@ SrsPlayer.prototype.start = function() {
flashvars
.
on_player_ready
=
"__srs_on_player_ready"
;
flashvars
.
on_player_metadata
=
"__srs_on_player_metadata"
;
flashvars
.
on_player_timer
=
"__srs_on_player_timer"
;
flashvars
.
version
=
srs_get_version_code
();
var
params
=
{};
params
.
wmode
=
"opaque"
;
...
...
@@ -170,7 +169,8 @@ SrsPlayer.prototype.start = function() {
var
self
=
this
;
swfobject
.
embedSWF
(
"srs_player/release/srs_player.swf"
,
this
.
container
,
"srs_player/release/srs_player.swf?_version="
+
srs_get_version_code
(),
this
.
container
,
this
.
width
,
this
.
height
,
"11.1"
,
"js/AdobeFlashPlayerInstall.swf"
,
flashvars
,
params
,
attributes
,
...
...
@@ -340,7 +340,6 @@ SrsPublisher.prototype.start = function() {
flashvars
.
id
=
this
.
id
;
flashvars
.
on_publisher_ready
=
"__srs_on_publisher_ready"
;
flashvars
.
on_publisher_error
=
"__srs_on_publisher_error"
;
flashvars
.
version
=
srs_get_version_code
();
var
params
=
{};
params
.
wmode
=
"opaque"
;
...
...
@@ -352,7 +351,8 @@ SrsPublisher.prototype.start = function() {
var
self
=
this
;
swfobject
.
embedSWF
(
"srs_publisher/release/srs_publisher.swf"
,
this
.
container
,
"srs_publisher/release/srs_publisher.swf?_version="
+
srs_get_version_code
(),
this
.
container
,
this
.
width
,
this
.
height
,
"11.1"
,
"js/AdobeFlashPlayerInstall.swf"
,
flashvars
,
params
,
attributes
,
...
...
请
注册
或
登录
后发表评论