1.19.29 • Published 8 months ago

@donkeyclip/webcomponent v1.19.29

Weekly downloads
-
License
ISC
Repository
-
Last release
8 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

10 months ago

1.19.13

10 months ago

1.19.10

11 months ago

1.19.11

10 months ago

1.19.16

10 months ago

1.19.17

10 months ago

1.19.14

10 months ago

1.19.15

10 months ago

1.19.18

9 months ago

1.19.19

9 months ago

1.19.4

11 months ago

1.19.3

11 months ago

1.19.2

11 months ago

1.19.1

11 months ago

1.19.8

11 months ago

1.19.7

11 months ago

1.19.6

11 months ago

1.19.5

11 months ago

1.19.9

11 months ago

1.19.20

8 months ago

1.19.23

8 months ago

1.19.24

8 months ago

1.19.21

8 months ago

1.19.22

8 months ago

1.19.27

8 months ago

1.19.28

8 months ago

1.19.25

8 months ago

1.19.26

8 months ago

1.19.29

8 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

2 years ago

1.13.2

2 years ago

1.13.1

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.1

2 years ago

1.13.3

2 years ago

1.11.0

2 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