1.19.29 • Published 12 months ago

@donkeyclip/webcomponent v1.19.29

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Usage

Please import the following script once in your page

<script scr="https://cdn.jsdelivr.net/npm/@donkeyclip/webcomponent"></script>

Then you can use our webcomponent:

<donkey-clip
  id="<your-clip's-id>"
  controls
  definition='your-definition'
  initparams='your-init-params-as-a-stringified-json'>
</donkey-clip>

Available Attributes and Properties

  • id : The ID of the donkeyclip you want to use.
  • height (optional): The height of the video player in pixels or percentage. If not provided, the player will default to the height of its parent container.
  • width (optional): The width of the video player in pixels or percentage. If not provided, the player will default to the width of its parent container.
  • scaletofit (optional): A boolean or string value that, when set to true, scales the clip to fit the player dimensions.
  • mcversion (optional): A string specifying the version of the MotorCortex library to use.
  • playerversion (optional): A string specifying the version of the Donkeyclip Player library to use.
  • theme (optional): A PlayerTheme that sets the player's theme. Read more here
  • initparams (optional): An stringified object containing the initParams for initializing the clip.
  • visible (optional): A string value "always" indicating that the player should always be visible.
  • ms (optional): A number or string value representing the millisecond at which the clip should start playing.
  • definition (optional): A Definition stringified object or a string containing the JSON representation of a Definition stringified object.
  • volume (optional): A number or string value representing the volume level of the clip.
  • speed (optional): A number or string value representing the playback speed of the clip.
  • backgroundcolor (optional): A string value representing the background color of the player.
  • spinnercolor (optional): A string value representing the color of the loading spinner.
  • metadata (optional): A DonkeyClipMetadata stringified object containing metadata about the clip.
1.19.12

1 year ago

1.19.13

1 year ago

1.19.10

1 year ago

1.19.11

1 year ago

1.19.16

1 year ago

1.19.17

1 year ago

1.19.14

1 year ago

1.19.15

1 year ago

1.19.18

1 year ago

1.19.19

1 year ago

1.19.4

1 year ago

1.19.3

1 year ago

1.19.2

1 year ago

1.19.1

1 year ago

1.19.8

1 year ago

1.19.7

1 year ago

1.19.6

1 year ago

1.19.5

1 year ago

1.19.9

1 year ago

1.19.20

1 year ago

1.19.23

12 months ago

1.19.24

12 months ago

1.19.21

1 year ago

1.19.22

12 months ago

1.19.27

12 months ago

1.19.28

12 months ago

1.19.25

12 months ago

1.19.26

12 months ago

1.19.29

12 months ago

1.18.1

2 years ago

1.18.0

2 years ago

1.16.6

2 years ago

1.16.3

2 years ago

1.16.2

2 years ago

1.16.4

2 years ago

1.16.1

2 years ago

1.16.0

2 years ago

1.15.0

2 years ago

1.14.1

3 years ago

1.13.2

3 years ago

1.13.1

3 years ago

1.13.0

3 years ago

1.12.0

3 years ago

1.11.1

3 years ago

1.13.3

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.7.6

3 years ago

1.7.5

3 years ago

1.7.4

3 years ago

1.7.3

3 years ago

1.7.2

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.3

3 years ago