Skip to content

Commit

Permalink
docs: remove crossorigin attribute from video-js tag in the examples
Browse files Browse the repository at this point in the history
Removes the `crossorigin="anonymous"` attribute from the <video-js> tag in the examples because we
were experiencing issues with cross-origin media. This change ensures that integrators won't
encounter the same error.
  • Loading branch information
jboix committed Jun 6, 2024
1 parent c351bfc commit 25308cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ npm install --save @srgssr/pillarbox-web
In your HTML file, add the following code to initialize Pillarbox:

```html
<video-js id="my-player" class="pillarbox-js" controls crossorigin="anonymous"></video-js>
<video-js id="my-player" class="pillarbox-js" controls></video-js>
```

Import the CSS file in your HTML to apply Pillarbox default theme:
Expand Down
3 changes: 1 addition & 2 deletions docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ npm install --save @srgssr/pillarbox-web
In your HTML file, add the following code to initialize Pillarbox:

```html

<video-js id="my-player" class="pillarbox-js" controls crossorigin="anonymous"></video-js>
<video-js id="my-player" class="pillarbox-js" controls></video-js>
```

Import the CSS file in your HTML to apply Pillarbox default theme:
Expand Down

0 comments on commit 25308cd

Please sign in to comment.