cat > /etc/systemd/system/docker.service <<'EOT'
[Service]
EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/sysconfig/docker-storage
EnvironmentFile=-/etc/sysconfig/docker-network
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// $OPTIONS \
$DOCKER_STORAGE_OPTIONS \
$DOCKER_NETWORK_OPTIONS \
$BLOCK_REGISTRY \
$INSECURE_REGISTRY
EOT
mkdir /etc/sysconfig
cat > /etc/sysconfig/docker <<EOT
OPTIONS="--bip=10.32.57.1/24"
EOT
systemctl daemon-reload
我正在使用上述功能在uiwebview中播放视频
在此图片中,弹出窗口已打开,但之前的视频正在播放。请告诉我解决方案
答案 0 :(得分:0)
当你展示&amp;时添加这些代码行分别隐藏弹出消息:
暂停:
mywebview.stringByEvaluatingJavaScriptFromString("document.querySelector('video').pause()")
要玩:
mywebview.stringByEvaluatingJavaScriptFromString("document.querySelector('video').play()")