Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dailymotion/dailymotion-player-sdk-windows
Dailymotion Video SDK for UWP applications
https://github.com/dailymotion/dailymotion-player-sdk-windows
dailymotion-player hacktoberfest player sdk uwp-applications windows-uwp
Last synced: about 1 month ago
JSON representation
Dailymotion Video SDK for UWP applications
- Host: GitHub
- URL: https://github.com/dailymotion/dailymotion-player-sdk-windows
- Owner: dailymotion
- License: mit
- Created: 2017-01-05T08:33:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T15:06:35.000Z (12 months ago)
- Last Synced: 2024-01-16T23:35:59.707Z (12 months ago)
- Topics: dailymotion-player, hacktoberfest, player, sdk, uwp-applications, windows-uwp
- Language: C#
- Homepage:
- Size: 227 KB
- Stars: 0
- Watchers: 39
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dailymotion Player SDK for Windows UWP
This repository contains the official open source .NET SDK that allows you to embed Dailymotion Videos in your UWP application.
For a full documentation of the Player API, see [https://developer.dailymotion.com/player](https://developer.dailymotion.com/player#player-parameters)
## Installation
### Manually
Just add the Release Lib `DmVideoPlayer.dll` to your project.
## Usage
Check out the repository and open `Dailymotion_VideoPlayer_Sample.sln` for a working example of how to embed the Dailymotion Player into your app.
Also look at the `Load` methods of `DmPlayerController` for ways to embed the Dailymotion Player.
#### White-listing dailymotion.com in Package.appxmanifest
You will need to add `https://*.dailymotion.com/` to the application contentUri rules so that you can communicate with the player and it will need to have WindowsRuntimeAccess="all".
``` xml
```
Screenshot:
![http://i.imgur.com/OgKljKF.png](http://i.imgur.com/OgKljKF.png)### Queue System
The Commands sent to the SDK are sent into a queue, this queue will only be executed once the SDK has recieved and APIReady from the dailymotion endpoint. If you load another video before this event is raised the SDk will drop all previous commands.
### Custom User Agent
The SDK allow you to set a custom user agent using the CustomUserAgent property.
### help center
Question please use our help center: https://faq.dailymotion.com/hc
Issues may also be submited here: [GitHub issues tracker](issues) or here File bugs or other issues http://github.com/dailymotion/dailymotion-player-sdk-windows/issues
### Demo AppA demo application has been been added that can help you query our public api and then launch the dailymotion player
**Warning:** **This library is not up-to-date and not maintained if you want to use the Dailymotion Player on your native Windows UWP apps**.