|
|
@@ -43,7 +43,7 @@ export default class SharedVideoManager {
|
|
43
|
43
|
return;
|
|
44
|
44
|
}
|
|
45
|
45
|
|
|
46
|
|
- proposeToClose().then(() =>
|
|
|
46
|
+ showStopVideoPropmpt().then(() =>
|
|
47
|
47
|
this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
|
|
48
|
48
|
}
|
|
49
|
49
|
|
|
|
@@ -433,7 +433,7 @@ function getYoutubeLink(url) {
|
|
433
|
433
|
/**
|
|
434
|
434
|
* Ask user if he want to close shared video.
|
|
435
|
435
|
*/
|
|
436
|
|
-function proposeToClose() {
|
|
|
436
|
+function showStopVideoPropmpt() {
|
|
437
|
437
|
return new Promise(function (resolve, reject) {
|
|
438
|
438
|
messageHandler.openTwoButtonDialog(
|
|
439
|
439
|
"dialog.removeSharedVideoTitle",
|