Skip to content

Commit

Permalink
fix: e2e profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi committed Jan 7, 2025
1 parent 80e87fa commit 727529f
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions docs/profiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
playerWithDefaultProfile.source('sea_turtle');
}, false);

window.addEventListener('load', async function() {
const playerWithCustomProfile = await cloudinary.player('player-custom-profile', {
cloudName: 'prod',
profile: 'myCustomProfile',
}, false);

window.addEventListener('load', async function() {
const playerWithCustomProfile = await cloudinary.player('player-custom-profile', {
cloudName: 'prod',
Expand All @@ -60,20 +54,6 @@

playerWithCustomProfileAndOverrides.source('samples/cld-sample-video');
}, false);

window.addEventListener('load', async function() {
const playerWithCustomProfileAndOverrides = await cloudinary.player('player-custom-profile-overrides', {
cloudName: 'prod',
profile: 'myCustomProfile',
colors: {
base: "#1532a8"
},
seekThumbnails: false,
aiHighlightsGraph: true,
});

playerWithCustomProfileAndOverrides.source('samples/cld-sample-video');
}, false);
</script>
</head>
<body>
Expand All @@ -97,34 +77,6 @@ <h5>Player with default profile</h5>

<h3 class="mt-4">Example Code:</h3>

<pre>
<code class="language-html">

&lt;video
id="player-default-profile"
controls
autoplay
muted
class="cld-video-player"
width="500"&gt;
&lt;/video&gt;

</code>
<code class="language-javascript">
window.addEventListener('load', async function() {
const playerWithDefaultProfile = await cloudinary.player('player-default-profile', {
cloudName: 'demo',
profile: 'cld-default',
});

playerWithDefaultProfile.source('sea_turtle');
}, false);
</code>
</pre>

<h5>Player with custom profile</h5>
<h3 class="mt-4">Example Code:</h3>

<pre>
<code class="language-html">

Expand Down

0 comments on commit 727529f

Please sign in to comment.