Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6a03d7

Browse files
authored
Merge pull request#3534 from AnnMarieW/add-playsinline-to-Video
Add playsInline prop to Video
2 parentsd0b09e0 +25382bf commita6a03d7

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
55
## [UNRELEASED]
66

77
## Added
8+
- [#3534]((https://github.com/plotly/dash/pull/3534) Adds `playsInline` prop to `html.Video`. Based on [#2338]((https://github.com/plotly/dash/pull/2338)
89
- [#3541](https://github.com/plotly/dash/pull/3541) Add `attributes` dictionary to be be formatted on script/link (_js_dist/_css_dist) tags of the index, allows for `type="module"` or `type="importmap"`. [#3538](https://github.com/plotly/dash/issues/3538)
910

1011
## Fixed

‎components/dash-html-components/scripts/data/attributes.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,12 @@
489489
],
490490
"description":"Provides a hint to the user of what can be entered in the field."
491491
},
492+
"playsInline": {
493+
"elements": [
494+
"video"
495+
],
496+
"description":"A Boolean attribute indicating that the video is to be played\"inline\"; that is, within the element's playback area. Note that the absence of this attribute does not imply that the video will always be played in fullscreen."
497+
},
492498
"poster": {
493499
"elements": [
494500
"video"
@@ -898,6 +904,7 @@
898904
"height",
899905
"loop",
900906
"muted",
907+
"playsInline",
901908
"poster",
902909
"preload",
903910
"src",

‎components/dash-html-components/scripts/extract-attributes.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const supportedAttributes = ['accept', 'accessKey', 'action', 'allow',
2323
'keyParams','keyType','kind','label','lang','list','loop','low',
2424
'manifest','marginHeight','marginWidth','max','maxLength','media',
2525
'mediaGroup','method','min','minLength','multiple','muted','name',
26-
'noValidate','nonce','open','optimum','pattern','placeholder','poster',
26+
'noValidate','nonce','open','optimum','pattern','placeholder','playsInline','poster',
2727
'preload','profile','radioGroup','readOnly','referrerPolicy','rel','required',
2828
'reversed','role','rowSpan','rows','sandbox','scope','scoped','scrolling',
2929
'seamless','selected','shape','size','sizes','span','spellCheck','src',

‎components/dash-html-components/scripts/generate-components.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const BOOLEAN_PROPERTIES = [
3232
'noModule',
3333
'noValidate',
3434
'open',
35+
'playsInline',
3536
'readonly',
3637
'required',
3738
'reversed',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp