SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: MESSIAH on June 23, 2013, 01:53:54 PM

Title: Thumbnail for youtube video
Post by: MESSIAH on June 23, 2013, 01:53:54 PM
I need display thumbnail only in portal site. How to made this? I using http://custom.simplemachines.org/mods/index.php?mod=2681 (http://custom.simplemachines.org/mods/index.php?mod=2681) mod
Title: Re: Thumbnail for youtube video
Post by: phantomm on June 23, 2013, 03:07:57 PM
This is not related to SP. Author of Simple Audio Video Embedder needs to add this feature in his modification.
Title: Re: Thumbnail for youtube video
Post by: Sapinho® on June 24, 2013, 08:18:05 PM
if u has intalled that mod, try whit the code for share embeded what u youtube give u.

For example

Code: [Select]
<iframe width="640" height="360" src="http://www.youtube.com/embed/KKveUcAU_Yk?rel=0" frameborder="0" allowfullscreen></iframe>
u change width and heiht has u want.

for example

Code: [Select]
<iframe width="250" height="141" src="http://www.youtube.com/embed/KKveUcAU_Yk?rel=0" frameborder="0" allowfullscreen></iframe>[/code

PD. i not use the mod, but i think maybe and hope work
Title: Re: Thumbnail for youtube video
Post by: MESSIAH on June 27, 2013, 06:00:34 PM
if u has intalled that mod, try whit the code for share embeded what u youtube give u.

For example

Code: [Select]
<iframe width="640" height="360" src="http://www.youtube.com/embed/KKveUcAU_Yk?rel=0" frameborder="0" allowfullscreen></iframe>
u change width and heiht has u want.

for example

Code: [Select]
<iframe width="250" height="141" src="http://www.youtube.com/embed/KKveUcAU_Yk?rel=0" frameborder="0" allowfullscreen></iframe>[/code

PD. i not use the mod, but i think maybe and hope work

This is no solution for me. I need this images display automatic detecting from url of video.
Title: Re: Thumbnail for youtube video
Post by: MESSIAH on June 27, 2013, 06:24:57 PM
This is not related to SP. Author of Simple Audio Video Embedder needs to add this feature in his modification.

You are wrong. I need this images display only in SP site. When You click images or post then open topic with embedded video. Like milanos.pl
Title: Re: Thumbnail for youtube video
Post by: Chen Zhen on June 27, 2013, 08:42:26 PM

MESSIAH,

  As far as I have read it requires either a third party API (in which case I have only thus far found a pay per month one) or you need server access (ie. VPS or Dedicated hosting) to install an application called ffmpeg.
With ffmpeg it requires some basic commands for height, width and the frame (placement of video clip in seconds).
  There may be another way but I have never attempted this & have only read about the above solutions. An iframe may work as Sapinho® suggested but it will be the actual video & not a thumbnail of a specific frame.
SimplePortal 2.3.8 © 2008-2024, SimplePortal