在WPF中集成Vimeo的视频(Integration of Vimeo's video in WPF)
我们在Vimeo上有一个帐户,我们为特定的观众显示一些视频。 他们是私人,我们定制ui的播放器以禁用共享的选项。 观众可以做的唯一一件事就是播放视频。
此外,我们定义了一个可以集成视频的特定域。 所以我们在这个域上有一些网页,我们整合了这些视频。
在Firefox,Chrome或Edge等网络浏览器中,如果我们访问此域上托管的网页,则无需显示和播放该网页。 但是如果我们使用WPF webbrowser,网页可以显示视频,但Vimeo的播放器会显示一条消息,我们可以通过我们定义的隐私设置来阅读视频。
为什么在Firefox或其他浏览器中,我没有任何问题或消息来播放我的域名(我们想要的)网页上的视频,而在WPF webbrowser中,Vimeo的播放器不允许我播放我域中同一网页上的视频?
感谢帮助。
We have an account on Vimeo where we display some videos for specific viewers. They are privates and we customize the ui's player to disable the share's options. The only thing that the viewer can do it's play the video.
Moreover, we defined a only one specific domain where the videos can be integrated. So we have some webpages on this domain where we integrate the videos.
In a webbrowser like Firefox, Chrome or Edge, if we go on a webpage hosted on this domain, there are no issue to display and play it. But if we use the WPF webbrowser, the webpage can be display with the video, but the Vimeo's player show a message that we can read the video because of privacy settings that we defined.
Why in a browser like Firefox or other, I don't have any issue or message to play the video from a webpage on my domain (what we want) and in the WPF webbrowser, the Vimeo's player don't allow me to play the video on the same webpage in my domain ?
Thank's for help.
原文:
最满意答案
在从属节点上运行jenkin构建时,为什么Docker很有用?
因为您并没有足够的奴隶准备好处理这些工作。
那些可以运行你的工作的人也可能会运行其他人,可能产生副作用(比如对共享资源的并发访问)换句话说: 供应和隔离 。
通过在docker slave容器中运行作业,可以确保作业不受任何其他作业的影响,并且可以根据需要生成一个slave来处理它。
Why is Docker useful when running jenkin builds on slave nodes?
Because you don't always have enough slave ready to process those jobs.
And the ones that can run your job might run others as well, with potential side-effect (like a concurrent access to a shared resource)In other words: provisioning and isolation.
By running a job inside a docker slave container, you are making sure that job isn't influenced by any other jobs, and has a slave spawn on demand to process it.
相关问答
更多-
你应该阅读这个清楚列出架构的插件文档: https://github.com/jenkinsci/docker-slaves-plugin 这用于Jenkins远程代理,您的命令不会在其中运行 You should read the plugin documentation for this which clearly lists the architecture: https://github.com/jenkinsci/docker-slaves-plugin This is used for the ...
-
由于jenkinsci-user邮件列表上的答案,我可以解决它: 我添加到全局“Docker模板”配置中的“标签”必须在作业配置中的“限制此项目可以运行的位置”字段中使用。 我错误地将它添加到作业“Docker Container / Additional tag to add”字段中。 在旁注:我正在使用Docker 1.10.0,在修复上述内容后,现在使用了设置,我得到了: 配置错误; template ='DockerTemplate {labelString ='jenkins',launcher ...
-
在从站上添加容器设置后无法启动mesos-slave(Unable to start mesos-slave after adding containerizer setting on slave)[2023-09-01]
由于MESOS-2986 ,我认为你需要使用0.24.1,0.23.1,0.22.2或0.21.2之一。 尝试从源代码构建mesos而不是使用debs。 这是非常简单的教程如何做到这一点。 # Install the packages. sudo apt-get install -qq tar wget openjdk-7-jdk build-essential python-dev libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-d ... -
如何使用jenkinsci / jnlp-slave进行复杂构建?(How one should use jenkinsci/jnlp-slave for complex builds?)[2023-02-23]
找到解决方案。 在我的巨大Dockerfile的末尾添加了以下几行代码: COPY /files/slave.jar /tmp/slave.jar COPY /files/jenkins-slave /usr/local/bin/jenkins-slave RUN chmod 777 /usr/local/bin/jenkins-slave USER jenkins ENTRYPOINT ["/usr/local/bin/jenkins-slave"] (显然slave.jar和jenkins-slave ... -
如果您有Windows从站和SSH凭据插件,那是因为Windows不提供ssh-agent。 如果您使用SSH凭证插件提供密钥让git在命令行步骤检出回购,则可以为每个代理提供git客户端的密钥(因为git具有ssh-agent)。 如果你的情况不是我想象的,那么你需要按照第二条评论中描述的步骤操作。 If you have Windows slave and SSH Credentials plugin that is because Windows doesn't provide ssh-agent. ...
-
如何在一个mesos从属节点上运行多个docker容器?(How to run multiple docker container on one mesos slave node?)[2022-04-07]
现在,您必须将两个容器打包成一个图像,以便Marathon在同一节点上一起启动它们。 否则,你要求一个Kubernetes“pod”式构造,这在Marathon中还不存在。 请参阅https://github.com/mesosphere/marathon/issues/894 当您想要在容器之间共享卷或其他资源时,会出现额外的棘手问题。 For now, you'll have to package the two containers together into one image so that Ma ... -
将节点添加到docker swarm(Adding nodes to docker swarm)[2023-08-08]
我昨天遇到了这个问题,Docker开发人员的建议是你可以暂时在swarm管理器上混合docker版本,但你不能提升或降级与所有其他swarm管理器上的版本不匹配的节点。 他们还建议在升级员工之前升级所有经理。 根据该建议,您应该首先升级旧节点,一次升级一个,以避免导致群集崩溃。 如果将容器部署到这些管理器,您将需要首先使用docker node update --availability drain $node_name配置节点。 升级后,您可以使用docker node update --availabi ... -
不推荐使用链接。 相反,您可以创建一个新网络并将所有容器添加到该网络: $ docker network create myapp 请注意,根据Compose的网络文档 ,将自动为您的撰写文件创建此类网络。 这意味着您根本不需要设置任何链接或网络,因为Compose已经自动创建了一个网络,并且所有容器都应该使用其容器名称在该网络中可访问。 另请参阅使用Compose with Swarm获取一些限制。 Using links is deprecated. Instead, you can create a ...
-
在从属节点上运行jenkin构建时,为什么Docker很有用? 因为您并没有足够的奴隶准备好处理这些工作。 那些可以运行你的工作的人也可能会运行其他人,可能产生副作用(比如对共享资源的并发访问) 换句话说: 供应和隔离 。 通过在docker slave容器中运行作业,可以确保作业不受任何其他作业的影响,并且可以根据需要生成一个slave来处理它。 Why is Docker useful when running jenkin builds on slave nodes? Because you don' ...
-
stdout已被捕获,记录和跟踪,并在结果完成之前到达客户端。 IPython附带了一个示例脚本,用于监视所有引擎的stdout / err,可以轻松调整这些脚本以仅监视此信息的一部分,等等。 在客户端本身,您可以在结果完成之前检查stdout / err( Client.metadata[msg_id].stdout )的元数据字典。 使用Client.spin()清除zeromq套接字上的任何传入消息,以确保此数据是最新的。 如果您希望stdout经常更新,请确保调用sys.stdout.flush() ...