@worksafevictoria/wcl7.5 1.16.0-beta.10 → 1.16.0-beta.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.16.0-beta.10",
3
+ "version": "1.16.0-beta.11",
4
4
  "description": "WorkSafe Victoria Component Library - GitHub Actions Migration Test",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
@@ -6,9 +6,8 @@
6
6
  <iframe
7
7
  v-if="provider === 'youtube'"
8
8
  class="videoFrame"
9
- :src="
10
- `https://www.youtube-nocookie.com/embed/${videoId}?iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1`
11
- "
9
+ :src="`https://www.youtube-nocookie.com/embed/${videoId}?iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1`"
10
+ referrerpolicy="strict-origin-when-cross-origin"
12
11
  allowfullscreen
13
12
  allowtransparency
14
13
  allow="autoplay"
@@ -16,9 +15,8 @@
16
15
  <iframe
17
16
  v-if="provider === 'vimeo'"
18
17
  class="videoFrame"
19
- :src="
20
- `https://player.vimeo.com/video/${videoId}?color=02819e&autopause=0&byline=0&dnt=1&fun=0&playsinline=0&portrait=0&title=0&transparent=0`
21
- "
18
+ :src="`https://player.vimeo.com/video/${videoId}?color=02819e&autopause=0&byline=0&dnt=1&fun=0&playsinline=0&portrait=0&title=0&transparent=0`"
19
+ referrerpolicy="strict-origin-when-cross-origin"
22
20
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen;"
23
21
  allowtransparency
24
22
  ></iframe>
@@ -31,17 +29,17 @@ export default {
31
29
  props: {
32
30
  videoId: {
33
31
  type: String,
34
- required: true
32
+ required: true,
35
33
  },
36
34
  provider: {
37
35
  type: String,
38
- required: true
36
+ required: true,
39
37
  },
40
38
  rtl: {
41
39
  type: Boolean,
42
- default: false
43
- }
44
- }
40
+ default: false,
41
+ },
42
+ },
45
43
  }
46
44
  </script>
47
45