소스 검색

add `playsinline' attribute in player for DAMN iOS wilfully full screen

HOME 2 년 전
부모
커밋
e1788e851f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      FNZCM/FNZCM.BlazorWasm/UI/Views/Default/App.razor

+ 1 - 1
FNZCM/FNZCM.BlazorWasm/UI/Views/Default/App.razor

@@ -167,7 +167,7 @@
         }
         }
     </style>
     </style>
     <FnzDiv @ref="bottomBar" class="bottom-bar fixed-bottom d-flex flex-wrap align-content-end flex-column-reverse" style="z-index: 4096;">
     <FnzDiv @ref="bottomBar" class="bottom-bar fixed-bottom d-flex flex-wrap align-content-end flex-column-reverse" style="z-index: 4096;">
-        <FnzVideo @ref="player" @onloadedmetadata="@PlayerLoaded" class="@PlayerCssClass" src="@currentPlayingUrl" autoplay controls></FnzVideo>
+        <FnzVideo @ref="player" @onloadedmetadata="@PlayerLoaded" class="@PlayerCssClass" src="@currentPlayingUrl" autoplay controls playsinline></FnzVideo>
         <div class="text-end">
         <div class="text-end">
             <button class="btn btn-secondary text-nowrap" type="button" @onclick="@StopAndClose">
             <button class="btn btn-secondary text-nowrap" type="button" @onclick="@StopAndClose">
                 <i class="bi bi-x-circle"></i> Stop and close
                 <i class="bi bi-x-circle"></i> Stop and close