Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
6c217da7
Commit
6c217da7
authored
Sep 29, 2017
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
乐视云视频插件支持修改元素
parent
d248b907
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
lecloud_insert.html
...tor/infoeditor/editor/plugins/lecloud/lecloud_insert.html
+9
-6
No files found.
e/admin/ecmseditor/infoeditor/editor/plugins/lecloud/lecloud_insert.html
View file @
6c217da7
...
@@ -23,12 +23,14 @@ if (oFakeImage) {
...
@@ -23,12 +23,14 @@ if (oFakeImage) {
oFakeImage
=
null
;
oFakeImage
=
null
;
}
}
console
.
log
(
oVideo
);
console
.
log
(
oFakeImage
);
window
.
onload
=
function
()
{
window
.
onload
=
function
()
{
// First of all, translate the dialog box texts
// First of all, translate the dialog box texts
oEditor
.
FCKLanguageManager
.
TranslatePage
(
document
)
;
oEditor
.
FCKLanguageManager
.
TranslatePage
(
document
);
if
(
oVideo
)
{
$
(
'videoId'
).
value
=
oVideo
.
getAttribute
(
"vd"
);
$
(
'videoVU'
).
value
=
oVideo
.
getAttribute
(
"vu"
);
}
window
.
parent
.
SetOkButton
(
true
)
;
window
.
parent
.
SetOkButton
(
true
)
;
window
.
parent
.
SetAutoSize
(
true
)
;
window
.
parent
.
SetAutoSize
(
true
)
;
...
@@ -43,11 +45,12 @@ function Ok() {
...
@@ -43,11 +45,12 @@ function Ok() {
if
(
!
oVideo
)
{
if
(
!
oVideo
)
{
oVideo
=
FCK
.
EditorDocument
.
createElement
(
'div'
);
oVideo
=
FCK
.
EditorDocument
.
createElement
(
'div'
);
oVideo
.
setAttribute
(
"class"
,
"lecloud-video"
);
oVideo
.
setAttribute
(
"class"
,
"lecloud-video"
);
oVideo
.
setAttribute
(
"vd"
,
videoId
);
oVideo
.
setAttribute
(
"vu"
,
videoVU
);
oFakeImage
=
null
;
oFakeImage
=
null
;
}
}
oVideo
.
setAttribute
(
"vd"
,
videoId
);
oVideo
.
setAttribute
(
"vu"
,
videoVU
);
if
(
!
oFakeImage
)
{
if
(
!
oFakeImage
)
{
oFakeImage
=
oEditor
.
FCKDocumentProcessor_CreateFakeImage
(
'FCK__Lecloud'
,
oVideo
)
;
oFakeImage
=
oEditor
.
FCKDocumentProcessor_CreateFakeImage
(
'FCK__Lecloud'
,
oVideo
)
;
oFakeImage
.
setAttribute
(
'_fck_lecloud'
,
'true'
)
;
oFakeImage
.
setAttribute
(
'_fck_lecloud'
,
'true'
)
;
...
...
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