1. Neil Edmunds

    Neil Edmunds ODSC Executive

    Messages:
    3,051
    Joined:
    May 5, 2003
    Likes:
    0
    Town:
    abcdefghijklmnopqrstuvwxyz
    BobM asked me if phpbb could be modified to allow embedding Youtube video. Some research turns up a method based on flash animation. I have set the configuration to enable flash in most forums. Here is a test video:

    http://www.youtube.com/watch?v=tK0DIU3q1qM#t=39

    1) wrap youtube code in flash tags (using flash button above text window)
    [flash=]http://www.youtube.com/watch?v=tK0DIU3q1qM#t=39[/flash]

    2) add sizing to first flash tag [flash=420,315]
    [flash=420,315]http://www.youtube.com/watch?v=tK0DIU3q1qM#t=39[flash] (slash in closing tag removed to see code change)

    3) modify youtube code by replacing "watch?v=" with "v/"
    [flash=420,315]http://www.youtube.com/v/tK0DIU3q1qM#t=39[flash] (slash in closing tag removed to see code change)

    4) final result with slash added back into closing tag
    [flash=420,315]http://www.youtube.com/v/tK0DIU3q1qM#t=39[/flash]
  2. DualSport

    DualSport Ride Organizer

    Messages:
    1,667
    Joined:
    Dec 26, 2002
    Likes:
    0
    Town:
    Tucson, AZ
    Thanks, Neil, that was quick :D

    I just tried editing my post on the Last Blast pre-ride video, and it (obviously) worked as you say. I’d prefer to see the embed method as I like to know a bit about the video rather than just clicking on a link.

    What are the setting limits on the flash size settings? Are there any other setting restrictions in this flash feature?

    Thanks
    Bob
  3. Neil Edmunds

    Neil Edmunds ODSC Executive

    Messages:
    3,051
    Joined:
    May 5, 2003
    Likes:
    0
    Town:
    abcdefghijklmnopqrstuvwxyz
    Bob,
    I did not enable flash when I took over the forum. Here are a few disadvantages:
    -flash is not indexed
    -slow loading times (a real nuisance years ago when dial-up was common)
    -browser must have the correct player and plug-in
    -does not work on iPads and iPhones
    These disadvantages make it questionable in a business environment, but for our purposes of enabling embedding it should be adequate. Content capacity limits should not matter because it is remotely hosted and we are only linking to it. The ability to use flash has been enabled for ODSC members only.

    p.s. I liked your video, I'd much rather hear the DR650 than some dubbed-in head banging rock music.
  4. DualSport

    DualSport Ride Organizer

    Messages:
    1,667
    Joined:
    Dec 26, 2002
    Likes:
    0
    Town:
    Tucson, AZ
    I tried a few different settings and I get a message "Flash cannot exceed 800 pixels width" but that size is OK.

    Are you going to leave this feature enabled?

    Re-music on videos - me too, but perhaps this an age-related thing :wink:

    Thanks
    Bob
  5. Neil Edmunds

    Neil Edmunds ODSC Executive

    Messages:
    3,051
    Joined:
    May 5, 2003
    Likes:
    0
    Town:
    abcdefghijklmnopqrstuvwxyz
    It will stay enabled since it is a handy workaround. The board wide setting for all images is 800px by 800px and Flash content follows these limits. This could be increased, but I don't see the need for it. I'm not up on video format, but I supect youtube video in "full screen" would leave much to be desired.
  6. DualSport

    DualSport Ride Organizer

    Messages:
    1,667
    Joined:
    Dec 26, 2002
    Likes:
    0
    Town:
    Tucson, AZ
    I rarely view videos on YouTube, but before I took out a subscription to World SuperBike streaming earlier this year, I used to watch it on YouTube after viewers in Europe recorded it from Sat TV and uploaded it in Full HD. I could hook my PC to the TV and watch it like a normal HD broadcast, so I assume you can upload whatever quality video you want. Full HD Video is huge so I guess many people only upload lower definition video to cut down their upload time.

    I'll experiment with an a full HD upload and see how it looks on YouTube.

    Thanks
    Bob
  7. DualSport

    DualSport Ride Organizer

    Messages:
    1,667
    Joined:
    Dec 26, 2002
    Likes:
    0
    Town:
    Tucson, AZ
    I can see why not many people upload full 1080p HD video :(

    This one was recompiled as 1080p and uploaded to YouTube at the same resolution. it took over FOUR HOURS to upload and was about 1.5GB. The original was done at 480p was under 300MB.

    Initially, the both look equally as bad, but that's the camera's (Garmin VIRB Elite) fault - it has a very poor "mixed-light" performance. It seems to be optimized for strong sunlight; in cloudy/even lighting it's a bit degraded but riding through partial tree cover with bright and shadowy patches it's hopeless. EDIT: After viewing the videos I noticed that YouTube Settings had pre-selected 480p for playback for both. After upping it to 1080p for the second one, it was noticeably improved.

    Here's the original upload in 480p:
    [flash=800,450]https://www.youtube.com/v/jUf_thfRIKk&list=UURXocfj0jjMEkpdkFczGCEw[/flash]

    and the 1080p HD version
    [flash=800,450]https://www.youtube.com/v/UwW3PLWCUKk&feature=youtube_gdata[/flash]

    Not really enough difference to bother with 1080p.

    Bob
  8. Neil Edmunds

    Neil Edmunds ODSC Executive

    Messages:
    3,051
    Joined:
    May 5, 2003
    Likes:
    0
    Town:
    abcdefghijklmnopqrstuvwxyz
    The conclusion seems to be that the video source is the key factor. I couldn't tell the difference between 480 and 1080, better original recording is needed. Go spend some more money LOL. What was the flash size setting for the above videos?
  9. DualSport

    DualSport Ride Organizer

    Messages:
    1,667
    Joined:
    Dec 26, 2002
    Likes:
    0
    Town:
    Tucson, AZ
    The original recording was 1080p and consisted of about 50 clips. The free editor, VIRB Edit, catalogues all the clips you ever take and maintains a database of which clips/segments are used for the Video. The original clips are never affected by editing within VIRB Edit, so when you compile a final video you can specify a resolution and frames/second. Each of the videos above were compiled from the same 1080p original clips, but the outputted video was as per the selected resolution and fps.

    The flash setting used was 800 (max) and 450, so as to match the 16x9 format I now use for all my regular (jpg) pictures, as I tend to view all my stuff on a 23" PC monitor or 55" TV. BTW, I found that a crappy 16x9 Landscape mode picture/video looks way better than good 4x3 format picture and way way better than a portrait mode in any format :)

    Bob
  10. Neil Edmunds

    Neil Edmunds ODSC Executive

    Messages:
    3,051
    Joined:
    May 5, 2003
    Likes:
    0
    Town:
    abcdefghijklmnopqrstuvwxyz