如何在 Weebly 上的嵌入视频周围放置线框?

发布于 2025-01-06 16:33:54 字数 2126 浏览 1 评论 0原文

我正在将我的 screencast.com 帐户中的视频嵌入到我的 weebly 网站中。

我正在使用本帖子底部附加的 HTML。

除右侧外,它的所有侧面均显示有细边框线。

您可以在这里看到它,这是本页右侧的第二个视频:

http:// /www.themathstutor.ie/home-temp.html

我尝试在网页中为其留出更多物理空间,但这似乎不是原因。

我可以在 HTML 中添加一些内容,在整个内容周围画一条细线吗?

我尝试过在 HTML 中放入不同的尺寸,有时我会在 RHS 上得到边框,但从来没有同时得到所有 4 个尺寸。

有人可以建议吗?

<!-- copy and paste. Modify height and width if desired. -->       
<object id="scPlayer"  width="320" height="180" type="application/x-shockwave-flash" data="http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/scplayer.swf" >
    <param name="movie" value="http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/scplayer.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="flashVars" value="thumb=http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/FirstFrame.jpg&containerwidth=320&containerheight=180&autohide=true&autostart=false&loop=false&showendscreen=true&showsearch=true&showstartscreen=true&tocdoc=float&xmp=sc.xmp&content=http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/IntroVideoV5.mp4&blurover=false" />
    <param name="allowFullScreen" value="true" />
    <param name="scale" value="showall" />
    <param name="allowScriptAccess" value="always" />
    <param name="base" value="http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/" />
    <iframe type="text/html" frameborder="0" scrolling="no" style="overflow:hidden;" src="http://www.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/embed" height="180" width="320" >
    </iframe>
</object>

I am embedding a video from my screencast.com account into my weebly website.

I am using the HTML appended at the bottom of this posting.

It is appearing with a thin border line on all sides except the right hand side.

You can see it here, its the second video down on the right hand side of this page:

http://www.themathstutor.ie/home-temp.html

I have tried making more physical space in the web page for it, but that does not seem to be the reason.

Can I put something in the HTML to put a thin line around the whole thing?

I have tried putting in different dimensions in the HTML, and sometimes I get the border on the RHS, but never all 4 at the same time.

Can someone advise please?

<!-- copy and paste. Modify height and width if desired. -->       
<object id="scPlayer"  width="320" height="180" type="application/x-shockwave-flash" data="http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/scplayer.swf" >
    <param name="movie" value="http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/scplayer.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="flashVars" value="thumb=http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/FirstFrame.jpg&containerwidth=320&containerheight=180&autohide=true&autostart=false&loop=false&showendscreen=true&showsearch=true&showstartscreen=true&tocdoc=float&xmp=sc.xmp&content=http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/IntroVideoV5.mp4&blurover=false" />
    <param name="allowFullScreen" value="true" />
    <param name="scale" value="showall" />
    <param name="allowScriptAccess" value="always" />
    <param name="base" value="http://content.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/" />
    <iframe type="text/html" frameborder="0" scrolling="no" style="overflow:hidden;" src="http://www.screencast.com/users/TheMathsTutor/folders/Default/media/b08282c8-3f04-415c-b6c6-8465331e96ca/embed" height="180" width="320" >
    </iframe>
</object>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美男兮 2025-01-13 16:33:54

将代码包装在 div 中并将边框设置为 1 像素。

<div style="border:1px solid black;width:320px;height:180px;">
  <!-- your code -->
</div>

Wrap your code in a div and set a border to 1 pixel.

<div style="border:1px solid black;width:320px;height:180px;">
  <!-- your code -->
</div>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文