如何在joomla中将缩略图预览/添加到AllVideos插件 [英] how to Preview /add thumbnail image to AllVideos plugin in joomla

查看:65
本文介绍了如何在joomla中将缩略图预览/添加到AllVideos插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我浏览了该论坛,试图找到有关如何向视频中添加预览图像的答案(这样,视频播放器不仅会在您按播放"之前显示黑屏),而且我偶然发现了这个问题:

So, I've browsed the forum trying to find an answer to how to add a preview image to videos (so the video player doesn't just display a black screen before you press "play") and I came across this:

此示例将本地FLV视频与预览图像一起嵌入的示例使用以下标记:

"This example of embedding a local FLV video with a preview image uses the following tag:

{flv img ="segeln-preview.jpg" showstop ="true"} Segeln-20070428-Start {/flv}可以在此处下载视频文件.预览图像位于图像/故事中,可以在此处下载."

{flv img="segeln-preview.jpg" showstop="true"}Segeln-20070428-Start{/flv}The video file can be downloaded here. The preview image is located in images/stories and can be downloaded here."

我尝试了此操作,但不起作用.如果我添加这样的代码... {flv} myvideoname此处{/flv} ...视频效果很好,但没有预览图像.

I tried this and it doesn't work. If I add the code like this... {flv}myvideonamehere{/flv} ...the video works great, but there is no preview image.

如果我创建了视频的镜头,并将其放置在images/stories文件夹中(顺便说一句,我的视频在images/stories/videos中),然后添加此代码... {flv img ="myvideonamehere.jpg" showstop ="true"} myvideonamehere {/flv} ...视频播放器未出现在前端,而是代码本身显示了视频播放器应位于的位置,这基本上意味着插件不理解该代码,因此将其视为普通文本在一篇文章中.

If i create a shot of the video, and place it in the images/stories folder (btw, my videos are in images/stories/videos) and then add this code... {flv img="myvideonamehere.jpg" showstop="true"}myvideonamehere{/flv} ...the the video player doesn't appear on the front end, but rather the code itself shows where the video player should be, which is basically means that the plugin doesn't understand that code, so it treats it as normal text in an article.

有人有什么主意吗?

谢谢.

推荐答案

我刚刚找到一个解决方案:图像必须与视频具有相同的名称,并且必须位于同一文件夹中. (注意尺寸!)

I just found a solution: the image must have the same name as the video and be in the same folder. (note the size!)

这篇关于如何在joomla中将缩略图预览/添加到AllVideos插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆