View Single Post
  #263  
Old 03-22-2006, 07:15 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, with regards to the google video, I too can not get this working. My google video is at http://video.google.com/videoplay?do...25124823019531, and having a look around the code made me use the following media tag as it didn't recognise the google url as a video...

PHP Code:
[media=400,326,true,ggv]http://video.google.com/videoplay?docid=-4329325124823019531[/media] 
This didn't work, but having thought about it it's not surprising really! On the google video page is a "Put on site" section which gives you the html code needed to embed the video in a web site. I took just the part within the src="" tag and put that into the player instead. It still didn't work due to the URL being encoded, so I then used http://www.us-webmasters.com/Decode-URLs/ to decode the URL and ended up with...

PHP Code:
[media=400,326,true,ggv]http://video.google.com/googleplayer.swf?videoUrl=http://vp.video.google.com/videodownload?version=0&secureurl=mwAAAG43hxnCm2hXrse2hjyuqYx3aARf7aOVUlQ51SMLUbU1Wyr7Ld2xvoqmw7_vjrfbnREph9FeB-mk8IqTz8TeR_MYu6BcsAaps-IQE-6MrVrWVuSpsB166j0f4AJOB9_x5DvATtWsXSCRBa625yt3nmz4YnYlgdlopfhVmcvHR7giUCav4-O0X-V2sJZOIfdwGoCGW7uUhWtwRRon61nzoMc&sigh=xsuFWW10GbWGHuXPtzoblb8R_08&begin=0&len=98397&docid=4965397551823343996&thumbnailUrl=http://video.google.com/ThumbnailServer?contentid=d4cc92d2f8162f40&second=5&itag=w320&urlcreated=1143017597&sigh=G3fkssZqUCxZJ6PpcH80FmzLfTQ&playerId=4965397551823343996[/media] 
Now this almost works. The video player is happy that it knows the type, but if you click the play button it pops up a message saying "Buffering" and goes no further.

I'm kind of just using trail and error here to get it working but hoped the above might point someone who knows what they are doing in the right direction of getting this working properly.

Would it be easier to add the google video embed tags to the anymedia.js script and display them that way? For reference, the google embed tag is as follows...

PHP Code:
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src=" " allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" wmode="window" salign="TL"  FlashVars="playerMode=embedded"> </embed
(Note that I have left the src="" parameter blank for ease of reading, but it would be the same as that between the [media] tags in the above example.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01064 seconds
  • Memory Usage 1,782KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete