reformatting, update prompt message
This commit is contained in:
parent
3f2e6c348a
commit
cd0e09169d
1 changed files with 9 additions and 7 deletions
|
@ -74,8 +74,10 @@ function getVideoOverlay(page) {
|
||||||
videoOverlay[page][id] = '';
|
videoOverlay[page][id] = '';
|
||||||
}
|
}
|
||||||
console.log('EDIT');
|
console.log('EDIT');
|
||||||
var message = 'Please enter a pan.do/ra video URL, like\nhttp://pad.ma/A/editor/00:00:00,00:01:00,00:02:00';
|
var message = 'Please enter a pan.do/ra video URL, like\n'
|
||||||
var url = prompt(message, videoOverlay[page][id]);
|
+ 'http://pad.ma/A/editor/00:00:00,00:01:00,00:02:00'
|
||||||
|
+ (videoOverlay[page][id] ? '\n\nTo remove the video, just remove the URL.' : ''),
|
||||||
|
url = prompt(message, videoOverlay[page][id]);
|
||||||
if (url !== null) {
|
if (url !== null) {
|
||||||
videoOverlay[page][id] = url;
|
videoOverlay[page][id] = url;
|
||||||
saveVideoOverlay();
|
saveVideoOverlay();
|
||||||
|
|
Loading…
Reference in a new issue