Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
f74b44e8
Commit
f74b44e8
authored
Sep 19, 2017
by
Takuya Ogawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#26929 Chrome動画プレイヤーのダウンロードボタン非表示
parent
4eb6ba68
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
abvw-preview/js/contentview.js
+5
-5
abvw-preview/js/contentview_CreateObjects.js
+2
-2
abvw/js/contentview.js
+5
-5
abvw/js/contentview_CreateObjects.js
+2
-2
No files found.
abvw-preview/js/contentview.js
View file @
f74b44e8
...
...
@@ -2220,13 +2220,13 @@ function handleForContentTypeVideo(resourceUrl){
$container
.
html
(
''
);
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
$container
.
html
(
'<video id="content_video" autoplay="true" loop="true" controls="controls" style="position: absolute; width: 100%; height: 100%;">'
$container
.
html
(
'<video id="content_video" autoplay="true" loop="true" controls="controls"
controlsList="nodownload"
style="position: absolute; width: 100%; height: 100%;">'
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
'</video>'
);
}
else
{
$container
.
html
(
'<video id="content_video" autoplay="true" controls="controls" style="position: absolute; width: 100%; height: 100%;">'
$container
.
html
(
'<video id="content_video" autoplay="true" controls="controls"
controlsList="nodownload"
style="position: absolute; width: 100%; height: 100%;">'
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
'</video>'
);
...
...
@@ -4656,7 +4656,7 @@ function showVideoObject(x, y, width, height, src, isFullscreen) {
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage" '
+
'width="'
+
(
pt2
.
x
-
pt1
.
x
)
+
'" '
+
'height="'
+
(
pt2
.
y
-
pt1
.
y
)
+
'" '
+
'autoplay controls loop>'
+
'autoplay controls
controlsList="nodownload"
loop>'
+
' <source src="'
+
src
+
'&key='
+
(
new
Date
()).
toIdString
()
+
'" type="video/mp4"> '
+
' <source src="'
+
src
+
'&key='
+
(
new
Date
()).
toIdString
()
+
'" type="video/ogg"> '
+
'</video>'
...
...
@@ -4665,7 +4665,7 @@ function showVideoObject(x, y, width, height, src, isFullscreen) {
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage"'
+
'width="'
+
(
pt2
.
x
-
pt1
.
x
)
+
'" '
+
'height="'
+
(
pt2
.
y
-
pt1
.
y
)
+
'" '
+
'autoplay controls>'
+
'autoplay controls
controlsList="nodownload"
>'
+
' <source src="'
+
src
+
'&key='
+
(
new
Date
()).
toIdString
()
+
'" type="video/mp4"> '
+
' <source src="'
+
src
+
'&key='
+
(
new
Date
()).
toIdString
()
+
'" type="video/ogg"> '
+
'</video>'
...
...
@@ -4674,7 +4674,7 @@ function showVideoObject(x, y, width, height, src, isFullscreen) {
}
else
{
$
(
'#playvideo'
).
attr
(
'z-order'
,
'1000'
);
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage" src="'
+
src
+
'" '
+
'autoplay controls></video>'
);
'autoplay controls
controlsList="nodownload"
></video>'
);
}
//showControlsVideo($('#videoOnPage'));
...
...
abvw-preview/js/contentview_CreateObjects.js
View file @
f74b44e8
...
...
@@ -1557,7 +1557,7 @@ function createVideoFulScreen(video, id) {
' <img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnCloseVideo" class="align_right" ></img>'
+
'</h1>'
+
' <div id="videoMedia'
+
id
+
'">'
+
' <video style="height:90%; width:100%;" class="mov" id="videoOnPopUp" autoplay controls loop>'
+
' <video style="height:90%; width:100%;" class="mov" id="videoOnPopUp" autoplay controls
controlsList="nodownload"
loop>'
+
' <source src="'
+
video
+
'" type="video/mp4"> '
+
' </video>'
+
' </div>'
...
...
@@ -1568,7 +1568,7 @@ function createVideoFulScreen(video, id) {
' <img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnCloseVideo" class="align_right" width=25px" ></img>'
+
'</h1>'
+
' <div id="videoMedia'
+
id
+
'">'
+
' <video style="height:90%; width:100%;" id="videoOnPopUp" class="mov" autoplay controls>'
+
' <video style="height:90%; width:100%;" id="videoOnPopUp" class="mov" autoplay controls
controlsList="nodownload"
>'
+
' <source src="'
+
video
+
'" type="video/mp4"> '
+
' </video>'
+
' </div>'
...
...
abvw/js/contentview.js
View file @
f74b44e8
...
...
@@ -2349,13 +2349,13 @@ CONTENTVIEW.handleForContentTypeVideo = function(resourceUrl){
$container
.
html
(
''
);
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
$container
.
html
(
'<video id="content_video" autoplay="true" loop="true" controls="controls" style="position: absolute; width: 100%; height: 100%;">'
$container
.
html
(
'<video id="content_video" autoplay="true" loop="true" controls="controls"
controlsList="nodownload"
style="position: absolute; width: 100%; height: 100%;">'
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
'</video>'
);
}
else
{
$container
.
html
(
'<video id="content_video" autoplay="true" controls="controls" style="position: absolute; width: 100%; height: 100%;">'
$container
.
html
(
'<video id="content_video" autoplay="true" controls="controls"
controlsList="nodownload"
style="position: absolute; width: 100%; height: 100%;">'
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
'</video>'
);
...
...
@@ -4739,7 +4739,7 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage" '
+
'width="'
+
(
pt2
.
x
-
pt1
.
x
)
+
'" '
+
'height="'
+
(
pt2
.
y
-
pt1
.
y
)
+
'" '
+
'autoplay controls loop>'
+
'autoplay controls
controlsList="nodownload"
loop>'
+
' <source src="'
+
src
+
'" type="video/mp4"> '
+
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/mp4"> ' +
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/ogg"> ' +
...
...
@@ -4750,7 +4750,7 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage"'
+
'width="'
+
(
pt2
.
x
-
pt1
.
x
)
+
'" '
+
'height="'
+
(
pt2
.
y
-
pt1
.
y
)
+
'" '
+
'autoplay controls>'
+
'autoplay controls
controlsList="nodownload"
>'
+
//' <source src="' + src + '&key=' + (new Date()).toIdString() + '" type="video/mp4"> ' +
' <source src="'
+
src
+
'" type="video/mp4"> '
+
'</video>'
...
...
@@ -4759,7 +4759,7 @@ CONTENTVIEW.showVideoObject = function(x, y, width, height, src, isFullscreen) {
}
else
{
$
(
'#playvideo'
).
attr
(
'z-order'
,
'1000'
);
$
(
'#playvideo'
).
html
(
'<video class="mov" id="videoOnPage" src="'
+
src
+
'" '
+
'autoplay controls></video>'
);
'autoplay controls
controlsList="nodownload"
></video>'
);
}
//CONTENTVIEW.showControlsVideo($('#videoOnPage'));
...
...
abvw/js/contentview_CreateObjects.js
View file @
f74b44e8
...
...
@@ -2653,7 +2653,7 @@ CONTENTVIEW_CREATEOBJECT.createVideoFulScreen = function(video, id) {
' <img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnCloseVideo" class="align_right" ></img>'
+
'</h1>'
+
' <div id="videoMedia'
+
id
+
'">'
+
' <video style="height:90%; width:100%;" class="mov" id="videoOnPopUp" autoplay controls loop>'
+
' <video style="height:90%; width:100%;" class="mov" id="videoOnPopUp" autoplay controls
controlsList="nodownload"
loop>'
+
' <source src="'
+
video
+
'" type="video/mp4"> '
+
' </video>'
+
' </div>'
...
...
@@ -2664,7 +2664,7 @@ CONTENTVIEW_CREATEOBJECT.createVideoFulScreen = function(video, id) {
' <img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnCloseVideo" class="align_right" width=25px" ></img>'
+
'</h1>'
+
' <div id="videoMedia'
+
id
+
'">'
+
' <video style="height:90%; width:100%;" id="videoOnPopUp" class="mov" autoplay controls>'
+
' <video style="height:90%; width:100%;" id="videoOnPopUp" class="mov" autoplay controls
controlsList="nodownload"
>'
+
' <source src="'
+
video
+
'" type="video/mp4"> '
+
' </video>'
+
' </div>'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment