On this page
HTML
multi-embed-player attribute list
This is only listed original or unique value.
| attribute name | type | required | default value | description |
|---|---|---|---|---|
| videoid | string | true | null | video id |
| service | string | true | null | service name |
| subVideoid | string | false | null | sub video id if use need subService |
| subService | string | false | null | sub service name |
| type | string | false | embed | embed or player or thumbnail-click |
| follow_GDPR | boolen | false | false | follow GDPR or not |
| img_url | string | false | null | image url it use instead of video id thumbnail |
| picture_tag | string of HTML | false | null | picture tag inner content it use instead of video id thumbnail |
| for | string | false | null | player id to play valid only thumbnail-click |
| play_control_wrap | boolen | false | true | wrap play control or not only valid on bilibili |
| kind | string | false | songs | Apple Music resource kind. v1 supports songs only |
| storefront | string | false | api default | Apple Music storefront such as jp or us |
| youtube_host_policy | string | false | nocookie | YouTube embed host policy. nocookie, youtube, or nocookie-fallback-youtube |
youtube_host_policy is used only for YouTube embeds.
nocookie uses youtube-nocookie.com, youtube uses youtube.com, and nocookie-fallback-youtube first tries youtube-nocookie.com and then reloads with youtube.com when fallback is allowed.
When fallback is used, the player dispatches onYoutubeHostFallback.