Skip to content

Commit

Permalink
Fix setting class name for videos (#648)
Browse files Browse the repository at this point in the history
Even though this looks like an HTML element, it's rendered by React so
apparently needs to be called `className`.
  • Loading branch information
Eric-Arellano authored Jan 19, 2024
1 parent 01cdbef commit b10617a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ Videos are stored in the `public/videos` folder. You should use subfolders to or
To add a video:

```markdown
<video title="Write a description of the video here as 'alt text' for accessibility." class="max-w-auto h-auto" controls>
<video title="Write a description of the video here as 'alt text' for accessibility." className="max-w-auto h-auto" controls>
<source src="/videos/run/sessions/demo.mp4" type="video/mp4"></source>
</video>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/run/sessions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The basic workflow for sessions is as follows:
3. The _interactive timeout_ runs between the jobs in a session. Every session has an interactive timeout value (ITTL, or interactive time to live). If there are no session jobs queued within the ITTL window, the session is temporarily deactivated and normal job selection resumes. A deactivated session can be resumed for the next job<sup>*</sup> if the session has not reached its maximum timeout value.
3. If the maximum timeout value is reached, the sessions end and any remaining queued jobs fail.

<video title="A line of users is shown. The one in the current session becomes larger than the rest and has rotating arrows around them, indicating that they are the priority. Boxes (jobs) are seen being sent to the QPU (represented by a chandelier) from the current user. Other users begin to pop up during the animation and their jobs appear beneath them as they wait for the prioritized user's session to end. A progress bar appears above the prioritized user to represent the interactive TTL. After the prioritized user's session finishes, the line moves ahead toward the system, and the next person's jobs can begin processing." class="max-w-auto h-auto" controls>
<video title="A line of users is shown. The one in the current session becomes larger than the rest and has rotating arrows around them, indicating that they are the priority. Boxes (jobs) are seen being sent to the QPU (represented by a chandelier) from the current user. Other users begin to pop up during the animation and their jobs appear beneath them as they wait for the prioritized user's session to end. A progress bar appears above the prioritized user to represent the interactive TTL. After the prioritized user's session finishes, the line moves ahead toward the system, and the next person's jobs can begin processing." className="max-w-auto h-auto" controls>
<source src="/videos/run/sessions/demo.mp4" type="video/mp4"></source>
</video>

Expand Down

0 comments on commit b10617a

Please sign in to comment.