【发布时间】:2021-04-02 17:52:02
【问题描述】:
我有一个 youtube iframe 代码。
<iframe width="560" height="315" src="https://www.youtube.com/embed/zfpmc-NnjXQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
我怎样才能只打印来自该 iframe 代码的 url 角度。
请帮忙。
【问题讨论】:
-
恐怕我们需要更多的上下文和解释。这个 iframe 是否已经在您的视图中?如果它在您的视图中,那么您已经拥有该 URL。如果不是,那么它在哪里?另外
print only url是什么意思?请花时间写一个正确的问题。
标签: javascript jquery angular iframe