diff options
| author | TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> | 2021-05-13 10:33:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-13 10:33:47 +0200 |
| commit | 75e5b49c3ae684096c8074bada846414d2b02b88 (patch) | |
| tree | ce36fcae7db3bf3850ee01ff24bb3b3ce2409cde /src | |
| parent | 3cf08dc45163268cee48d045e347eaf7c7be92a6 (diff) | |
| parent | d6585d7583018010467cead2956d375067b9acce (diff) | |
| download | invidious-75e5b49c3ae684096c8074bada846414d2b02b88.tar.gz invidious-75e5b49c3ae684096c8074bada846414d2b02b88.tar.bz2 invidious-75e5b49c3ae684096c8074bada846414d2b02b88.zip | |
Merge pull request #2008 from syeopite/mobile-ui
Improve player controls for mobile devices
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/components/player_sources.ecr | 3 | ||||
| -rw-r--r-- | src/invidious/views/licenses.ecr | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/invidious/views/components/player_sources.ecr b/src/invidious/views/components/player_sources.ecr index d950e0da..a99fdbca 100644 --- a/src/invidious/views/components/player_sources.ecr +++ b/src/invidious/views/components/player_sources.ecr @@ -3,7 +3,10 @@ <link rel="stylesheet" href="/css/videojs.markers.min.css?v=<%= ASSET_COMMIT %>"> <link rel="stylesheet" href="/css/videojs-share.css?v=<%= ASSET_COMMIT %>"> <link rel="stylesheet" href="/css/videojs-vtt-thumbnails.css?v=<%= ASSET_COMMIT %>"> +<link rel="stylesheet" href="/css/videojs-mobile-ui.css?v=<%= ASSET_COMMIT %>"> +<link rel="stylesheet" href="/css/player.css?v=<%= ASSET_COMMIT %>"> <script src="/js/video.min.js?v=<%= ASSET_COMMIT %>"></script> +<script src="/js/videojs-mobile-ui.min.js?v=<%= ASSET_COMMIT %>"></script> <script src="/js/videojs-contrib-quality-levels.min.js?v=<%= ASSET_COMMIT %>"></script> <script src="/js/videojs-http-source-selector.min.js?v=<%= ASSET_COMMIT %>"></script> <script src="/js/videojs-markers.min.js?v=<%= ASSET_COMMIT %>"></script> diff --git a/src/invidious/views/licenses.ecr b/src/invidious/views/licenses.ecr index aae8bb19..c2ada992 100644 --- a/src/invidious/views/licenses.ecr +++ b/src/invidious/views/licenses.ecr @@ -151,6 +151,20 @@ <tr> <td> + <a href="/js/videojs-mobile-ui.min.js?v=<%= ASSET_COMMIT %>">videojs-mobile-ui.min.js</a> + </td> + + <td> + <a href="https://choosealicense.com/licenses/mit/">MIT</a> + </td> + + <td> + <a href="https://github.com/mister-ben/videojs-mobile-ui"><%= translate(locale, "source") %></a> + </td> + </tr> + + <tr> + <td> <a href="/js/videojs-markers.min.js?v=<%= ASSET_COMMIT %>">videojs-markers.min.js</a> </td> |
