在iOS上以全屏模式隐藏缩小按钮

时间:2017-04-07 16:21:33

标签: swift uiwebview

我正通过allowInlineMediaPlay在我的应用中播放YouTube视频。我可以加载视频并在设备上全屏播放。我已禁用2017-04-07 10:28:52,030.30.9998989105:kafka.future:8228:ERROR:10620:Error processing callback Traceback (most recent call last): File "C:\Anaconda2\lib\site-packages\kafka\future.py", line 79, in _call_backs f(value) File "C:\Anaconda2\lib\site-packages\kafka\consumer\fetcher.py", line 760, in _handle_fetch_response unpacked = list(self._unpack_message_set(tp, messages)) File "C:\Anaconda2\lib\site-packages\kafka\consumer\fetcher.py", line 539, in _unpack_message_set tp.topic, msg.value) File "C:\Anaconda2\lib\site-packages\kafka\consumer\fetcher.py", line 570, in _deserialize return f(bytes_) File "C:\Users\myUser\workspace\PythonKafkaTest\src\example.py", line 55, in <lambda> value_deserializer=lambda m: json.loads(m).decode('utf-8')) File "C:\Anaconda2\lib\json\__init__.py", line 339, in loads return _default_decoder.decode(s) File "C:\Anaconda2\lib\json\decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Anaconda2\lib\json\decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ,但是,当视频全屏显示时,媒体播放器上有一个缩小按钮。当按下缩小按钮时,视频将退出全屏模式并缩小回原始大小但继续播放,我希望视频在收缩时停止播放。

理想情况下,我想完全删除缩小按钮,然后保留完成按钮。

是否可以从媒体播放器中删除缩小按钮?

0 个答案:

没有答案