https://github.com/mendixlabs/popupvideoplayer
This a Mendix widget that takes a video ID as attribute, shows a thumbnail and title and opens a popup video player on click.
https://github.com/mendixlabs/popupvideoplayer
mendix-widget
Last synced: 8 months ago
JSON representation
This a Mendix widget that takes a video ID as attribute, shows a thumbnail and title and opens a popup video player on click.
- Host: GitHub
- URL: https://github.com/mendixlabs/popupvideoplayer
- Owner: mendixlabs
- License: apache-2.0
- Created: 2015-06-04T15:57:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-07T08:34:46.000Z (over 4 years ago)
- Last Synced: 2024-04-13T17:55:37.244Z (almost 2 years ago)
- Topics: mendix-widget
- Language: JavaScript
- Homepage: https://appstore.home.mendix.com/link/app/2059/Mendix/Popup-Video-Player
- Size: 593 KB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Popup Video Player [](https://docs.mendix.com/community/app-store/app-store-content-support)
This widget shows a small preview thumbnail and title for a YouTube or Vimeo video.
When clicked, it will open the video in a popup.
Clicking outside the popup closes it again.
## Contributing
For more information on contributing to this repository visit [Contributing to a GitHub repository](https://world.mendix.com/display/howto50/Contributing+to+a+GitHub+repository)!
## Configuration
### Data Source
#### Video ID Attribute
This is the attribute containing the ID for the video. Make sure this matches the Video Source that is specified.
#### Video Source
Here you can specify if the video ID will be for YouTube or Vimeo. These are currently the only supported video providers.
Please send in an issue if you would like to see another video platform supported.
### General
#### Autoplay
You can set this to have the video autoplay once the popup opens.
### Appearance
#### Player Width
The width of the popup.
#### Player height
The height of the popup.
### Responsive
#### Responsive Fullscreen
If you set this to true, the player will determine the width and height of the player, instead of using the Player width and height as set in 'Appearance'. **Default: false**
#### Max width percentage
If you use the Responsive Fullscreen option, this will determine what the max width/height is of the player. It will center the video and scale it to the window width/height, multiplied by the percentage. **Default: 90**
### Behavior
#### On Click Microflow
An optional microflow that is triggered when the popup is opened.