動画の高さに対してブラウザの高さが不足している時に、動作の操作部分を上に配置 #33
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
スマホユーザーが動画を再生しようとしたらサイズが大きすぎて全体を観る事ができなかった問題は、拡大縮小の「+」「-」で、1倍以下の0.5倍、0.2倍の縮小表示が可能になった事で回避されたかのように見えました。
しかしながら、その操作を行う操作部分は動画の一番下に表示されるため画面をスクロールして操作部分で「-」を押して巻き戻して再生。
その時下までスクロールしてしまってるので、動画はすでに再生がはじまっているにも関わらず画面を観る事ができませんでした。
そのため、画面の高さが不足している時は、操作部分を動画の上に配置して、縮小、巻き戻し等の操作ができるようにしました。
これにより、画面が小さな端末での動画再生したり、PCでの極めて大きなサイズの動画の再生する事ができるようになります。
この機能はオリジナルのPaintBBSには存在しない機能なので、デフォルトでは無効です。