Added support for picture-in-picture in Chrome

This commit is contained in:
Sam Potts
2018-10-25 09:17:15 +11:00
parent df4bc268dc
commit fe26d383f1
4 changed files with 53 additions and 11 deletions

10
src/js/config/states.js Normal file
View File

@ -0,0 +1,10 @@
// ==========================================================================
// Plyr states
// ==========================================================================
export const pip = {
active: 'picture-in-picture',
inactive: 'inline',
};
export default { pip };