-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
index-for-developing.html
62 lines (58 loc) · 4.63 KB
/
index-for-developing.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!-- The vite dev server is configured to serve from the testBooks directory.
So to serve a book from there, the url should start with "testBooks/".
To deal with CORS, the vite dev server has a proxy at "s3/" so bloomlibrary.org books should start with "s3/".
Note: all the different versions of src below except src itself are ignored; they
are alternative src's that may be useful again (or may be obsolete and wrong).
-->
<html>
<body>
<iframe id="player-iframe"
src="bloomplayer-for-developing.htm?url=testBooks/Bloom5.4-activities/Bloom5.4-activities.htm"
xsrc="bloomplayer-for-developing.htm?url=s3/bloomharvest/educationforlife%40sil.org%2f433f2ae9-3cba-48bf-82a7-faa3932908ae/bloomdigital%2findex.htm&hideFullScreenButton=false"
publish_video_preview_src="bloomplayer-for-developing.htm?centerVertically=true&videoPreviewMode=true&autoplay=no&defaultDuration=1&url=http%3A%2F%2Flocalhost%3A8089%2Fbloom%2FC%253A%2FUsers%2FPolk%2FAppData%2FLocal%2FTemp%2FPlaceForStagingBook%2FA%2520Family%2520Learns%2520about%2520Immunisations&independent=false&host=bloomdesktop&skipActivities=true&hideNavButtons=true"
dev_videoWithAudio_src="bloomplayer-for-developing.htm?centerVertically=true&url=s3/bloomharvest-sandbox/colin_sugget%40sil.org%2f665dab68-723c-4245-b4b4-c771d0329329/bloomdigital%2findex.htm&independent=false&host=testing"
dev_moonAndCap_src="bloomplayer-for-developing.htm?centerVertically=true&url=s3/bloomharvest-sandbox/john_thomson%40sil.org%2fd4d081d9-9c90-427b-814c-7bd7730fc25b/bloomdigital%2findex.htm&independent=false&host=testing"
bloom_reader_preview_src="bloomplayer-for-developing.htm?url=http://localhost:8089/bloom/C%3A/Users/YourName/AppData/Local/Temp/PlaceForStagingBook/myBookTitle"
local_src="bloomplayer-for-developing.htm?url=http://localhost:8080/test_books/MoonAndCap/MoonAndCap.htm&hideFullScreenButton=false&independent=true&host=testing"
video_src="bloomplayer-for-developing.htm?url=s3/bloomharvest-sandbox/jeffrey_su%40sil.org%2f9eaa0134-6b34-4b20-80df-58c4e9d62480/bloomdigital%2findex.htm"
blahsrc="bloomplayer-for-developing.htm?allowToggleAppBar=true&url=file%3A%2F%2Fc%3A%2Fdev%2Fbook%2Fbook.htm"
landscape_src="bloomplayer-for-developing.htm?url=s3/bloomharvest/educationforlife%40sil.org%2f1fec727e-855f-4691-bbd0-3efb666b4598/bloomdigital%2findex.htm"
landscape_video_src="bloomplayer-for-developing.htm?url=s3/bloomharvest/educationforlife%40sil.org%2f6f6d82d5-e98d-445d-b4be-143df993c3c0/bloomdigital%2findex.htm"
talking_src="bloomplayer-for-developing.htm?url=s3/bloomharvest-sandbox/librarian%40bloomlibrary.org%2fa8c92a95-ba88-464e-81b0-628c9ef9d060/bloomdigital%2findex.htm"
music_src="bloomplayer-for-developing.htm?url=s3/bloomharvest-sandbox/bloom.bible.stories%40gmail.com%2f2e0b9e8c-1722-45b9-bfc6-4379fd6b3e7e/bloomdigital%2findex.htm"
talking_and_music_src="bloomplayer-for-developing.htm?url=s3/bloomharvest-sandbox/andrew_polk%40sil.org%2f37c8a66d-cf9c-4557-ada7-34c3551e8883/bloomdigital%2findex.htm"
talking_imageDesc_src="bloomplayer-for-developing.htm?url=s3/bloomharvest-sandbox/stephen_mcconnel%40sil.org/a4736538-1b58-4272-8833-a94e3f5ec3ae/bloomdigital/index.htm"
style="width: 100%; height: 100%;" allowfullscreen allow="fullscreen"></iframe>
<div style="position:absolute;top:20px;left:20px;">
<button onclick="
var iframe = document.getElementById(
'player-iframe'
);
msg = { messageType: 'control', play: true, autoplay: 'yes' };
iframe.contentWindow?.postMessage(JSON.stringify(msg), '*');
">
autoplay
</button>
<button onclick="
var iframe = document.getElementById(
'player-iframe'
);
msg = { messageType: 'control', pause: true };
iframe.contentWindow?.postMessage(JSON.stringify(msg), '*');
">
pause
</button>
<button onclick="
var iframe = document.getElementById(
'player-iframe'
);
msg = { messageType: 'control', pause: true };
iframe.contentWindow?.postMessage(JSON.stringify(msg), '*');
msg = { messageType: 'control', reset: true };
iframe.contentWindow?.postMessage(JSON.stringify(msg), '*');
">
reset
</button>
</div>
</body>
</html>