@latest-thinking/lt-player 1.1.0-n → 1.1.0-p

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ README.md CHANGED
@@ -185,56 +185,85 @@ player.toggleCaptions(toggle);
185
185
  ```
186
186
 
187
187
 
188
-
188
+ ## Example player config
189
189
  ```json
190
- "version": 2,
191
- "body": {
192
- "alwaysDisplayControls" : false, (boolean)
193
- "embed": false,
194
- "playerType": "portrait",
195
- "chapters": [
196
- {
197
- "name": "Capitol 1",
198
- "timestamp": "10"
199
- },
200
- {
201
- "name": "Capitol 2",
202
- "timestamp": "15"
203
- },
204
- {
205
- "name": "Capitol 3",
206
- "timestamp": "17"
207
- }
208
- ],
209
- "defaultConfig": {
210
- "captions": {
211
- "active": false,
212
- "language": "en",
213
- "update": true,
214
- "label": "asdfasdfasdf",
215
- "url": "/lt-player/examples/samples/vtt/Pahl-Kerstin-Maria-MAIN-20230320.vtt",
216
- "srclang": "en"
217
- }
218
- },
219
- "videoTitle": "Maja Adena",
220
- "posterImage": "https://web.lt.dev.welink.sh/sites/default/files/2023-09/Video%201.00_00_00_00.Standbild001.jpg",
221
- "videoParagraph": "What Are Some Unintended Consequences of Pension Reform?",
222
- "videoUrl": "https://player.vimeo.com/external/837554695.m3u8?s=0c690ee7961cdfabf925774a536d2376e155d7fe",
223
- "tracks": "https://web.lt.dev.welink.sh/sites/default/files/video-short/subtitles/Pahl-Kerstin-Maria-MAIN-20230320.vtt",
224
- "fullscreenDisabled": true,
225
- "share": [],
226
- "additionalInfo": {
227
- "bio": {
228
- "title": "Bio",
229
- "description": "Maja Adena is a Postdoctoral Researcher in economics. She received her PhD from the Free University Berlin, where she worked as a research fellow until 2012. Ever since, Adena worked with the Social Science Research Centre Berlin (WZB), where she acts not only as a researcher, but also as a member of the academic council. \n\nAdena’s research interests reach from applied microeconomics to political economy and behavioural economics with a more specific interest in the economy of non-profit and charitable organisations."
230
- },
231
- "institution": {
232
- "title": "Institution",
233
- "institutionName": "Florida State University",
234
- "image": "https://web.lt.dev.welink.sh/sites/default/files/institution/florida-state-university_cover.jpg",
235
- "description": "Florida State University preserves, expands, and disseminates knowledge in the sciences, technology, arts, humanities, and professions, while embracing a philosophy of learning strongly rooted in the traditions of the liberal arts. The university is dedicated to excellence in teaching, research, creative endeavors, and service. The university strives to instill the strength, skill, and character essential for lifelong learning, personal responsibility, and sustained achievement within a community that fosters free inquiry and embraces diversity."
236
- }
237
- }
238
- }
239
-
190
+ {
191
+ "version": 2,
192
+ "body": {
193
+ "pinText" : true,
194
+ "pinSeekBar" : false,
195
+ "pinControls" : false,
196
+ "embed": false,
197
+ "playerType": "portrait",
198
+ "chapters": [
199
+ {
200
+ "name": "Capitol 1",
201
+ "timestamp": "10"
202
+ },
203
+ {
204
+ "name": "Capitol 2",
205
+ "timestamp": "15"
206
+ },
207
+ {
208
+ "name": "Capitol 3",
209
+ "timestamp": "17"
210
+ }
211
+ ],
212
+ "defaultConfig": {
213
+ "captions": {
214
+ "active": false,
215
+ "language": "en",
216
+ "update": true,
217
+ "label": "asdfasdfasdf",
218
+ "url": "/lt-player/examples/samples/vtt/Pahl-Kerstin-Maria-MAIN-20230320.vtt",
219
+ "srclang": "en"
220
+ }
221
+ },
222
+ "videoTitle": "Maja Adena",
223
+ "posterImage": "https://web.lt.dev.welink.sh/sites/default/files/2023-09/Video%201.00_00_00_00.Standbild001.jpg",
224
+ "videoParagraph": "What Are Some Unintended Consequences of Pension Reform?",
225
+ "videoUrl": "https://player.vimeo.com/external/837554695.m3u8?s=0c690ee7961cdfabf925774a536d2376e155d7fe",
226
+ "tracks": "https://web.lt.dev.welink.sh/sites/default/files/video-short/subtitles/Pahl-Kerstin-Maria-MAIN-20230320.vtt",
227
+ "fullscreenDisabled": true,
228
+ "share": {
229
+ "canonicalUrl": "http://stg.lt.org/publication/what-are-economic-consequences-international-migration",
230
+ "embedUrl": "https://stg.lt.org/embed/2892",
231
+ "title": "What Are the Economic Consequences of International Migration?"
232
+ },
233
+ "additionalInfo": {
234
+ "bio": {
235
+ "title": "Bio",
236
+ "description": "Maja Adena is a Postdoctoral Researcher in economics. She received her PhD from the Free University Berlin, where she worked as a research fellow until 2012. Ever since, Adena worked with the Social Science Research Centre Berlin (WZB), where she acts not only as a researcher, but also as a member of the academic council. \n\nAdena’s research interests reach from applied microeconomics to political economy and behavioural economics with a more specific interest in the economy of non-profit and charitable organisations."
237
+ },
238
+ "institution": {
239
+ "title": "Institution",
240
+ "institutionName": "Florida State University",
241
+ "image": "https://web.lt.dev.welink.sh/sites/default/files/institution/florida-state-university_cover.jpg",
242
+ "description": "Florida State University preserves, expands, and disseminates knowledge in the sciences, technology, arts, humanities, and professions, while embracing a philosophy of learning strongly rooted in the traditions of the liberal arts. The university is dedicated to excellence in teaching, research, creative endeavors, and service. The university strives to instill the strength, skill, and character essential for lifelong learning, personal responsibility, and sustained achievement within a community that fosters free inquiry and embraces diversity."
243
+ }
244
+ },
245
+ "playerContainer": "PLAYER1",
246
+ "preload": {
247
+ "start": 5,
248
+ "stop": 10,
249
+ "autoType": true,
250
+ "isActive": true
251
+ },
252
+ "autoPlay": true,
253
+ "fullscreenDisabled": true,
254
+ "vimeo": {
255
+ "controls": false,
256
+ "active": false,
257
+ "gesture": "media",
258
+ "transparent": true,
259
+ "speed": true,
260
+ "portrait": true,
261
+ "keyboard": false,
262
+ "title": false,
263
+ "byline": false,
264
+ "playsinline": true,
265
+ "background": true
266
+ }
267
+ }
268
+ }
240
269
  ```