Skip to content

Do not autoplay videos in release notes #200270

@skycommand

Description

@skycommand

Hello, esteemed VSCode team!

Each month, you release a new version, along with a release note. I read each release note from top to bottom. (Example: Version 1.85's release note.) But recently, a simple problem that has a simple solution has deteriorated the reading experience.

Actual behavior

Each release note embed videos. When I open the release note, they start playing all at once. I'm forced to stop each video, rewind it, and watch it from the beginning. Here is screenshot of a video mid-playback.

Actual behavior

Expected behavior

However, for optimal viewing experience, they must look like this screenshot. Please note the large play button at the middle.

Expected behavior

Solution

The problem is your HTML code.

Instead of this:

<!-- 👎 NOT RECOMMENDED ❌ -->
<video src="/assets/updates/1_85/float_2.mp4" autoplay="" loop="" controls="" muted="" title="Command to Copy Editor into New Window"></video>

Please consider using this:

<!-- 👍 RECOMMENDED ✔ -->
<video src="/assets/updates/1_85/float_2.mp4"                     controls="" muted="" title="Command to Copy Editor into New Window"></video>

All I did was to remove the autoplay="" and loop="" tokens. Please note their presence alone changes the browser behavior. Setting them to 1, 0, true, or false makes no difference.

Thanks in advance. 😊

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityrelease-notesRelease notes issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions