|
@@ -13,34 +13,45 @@ $(document).ready(function() {
|
|
|
const title = JSON.parse(dataList).shareTask.title;
|
|
|
const shareJoinUserId = JSON.parse(dataList).shareJoinUser.id;
|
|
|
$('.title p').html(title)
|
|
|
-
|
|
|
- * chimeeplayer播放器
|
|
|
- */
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
let bigVideo = new FlvJsPlayer({
|
|
|
"id": "bigVideo",
|
|
|
- "url": desktopUrl,
|
|
|
+ "url": boardUrl,
|
|
|
"playsinline": false,
|
|
|
"volume": 1,
|
|
|
"autoplay": true,
|
|
|
"width": "100%",
|
|
|
"height": "714",
|
|
|
- "ignores": ['definition', 'i18n', 'play', 'replay', 'progress', 'start', 'volume'],
|
|
|
+ "ignores": ['definition', 'i18n', 'play', 'replay', 'progress', 'start', 'time'],
|
|
|
"closeVideoClick": true,
|
|
|
"closeVideoTouch": true,
|
|
|
"keyShortcut": "off",
|
|
@@ -48,19 +59,19 @@ $(document).ready(function() {
|
|
|
});
|
|
|
let smallVideo = new FlvJsPlayer({
|
|
|
"id": "smallVideo",
|
|
|
- "url": boardUrl,
|
|
|
+ "url": desktopUrl,
|
|
|
"playsinline": false,
|
|
|
- "volume": 1,
|
|
|
+ "volume": 0,
|
|
|
"autoplay": true,
|
|
|
"width": "100%",
|
|
|
"height": "714",
|
|
|
- "ignores": ['definition', 'i18n', 'play', 'replay', 'progress', 'start', 'volume'],
|
|
|
+ "ignores": ['definition', 'i18n', 'play', 'replay', 'progress', 'start', 'time'],
|
|
|
"closeVideoClick": true,
|
|
|
"closeVideoTouch": true,
|
|
|
"keyShortcut": "off",
|
|
|
"cssFullscreen": true
|
|
|
});
|
|
|
- $('#smallVideo').hide();
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -73,20 +84,19 @@ $(document).ready(function() {
|
|
|
|
|
|
|
|
|
|
|
|
- console.log(smallVideo)
|
|
|
- $('input:radio').click(function () {
|
|
|
-
|
|
|
- const type = $(this).val();
|
|
|
- if (type == 'desktopUrl') {
|
|
|
- $('#bigVideo').show();
|
|
|
- $('#smallVideo').hide();
|
|
|
- } else {
|
|
|
- $('#bigVideo').hide();
|
|
|
- $('#smallVideo').show();
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- })
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
function shareJoin () {
|
|
|
setTimeout(function () {
|