vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How can I get this type of video to embed into my Front Page Articles. (https://vborg.vbsupport.ru/showthread.php?t=255955)

jimfries 12-27-2010 03:24 AM

How can I get this type of video to embed into my Front Page Articles.
 
I host a World of Warcraft website and have been attempting to embed weekly videos from the MMO Report. However when I go to embed the video it just leaves the code on the page, and if I put a link to the website where the video is (using the video link in the text box) it just posts a link.

I'd really like to get this video embed into the front page articles as we use it each week.

Here is the embed code:
Code:

<object classId="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="480" height="418" id="VideoPlayerLg50499">
<param name="movie" value="http://g4tv.com/lv3/50499" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<embed src="http://g4tv.com/lv3/50499" type="application/x-shockwave-flash" name="VideoPlayer" width="480" height="382" allowScriptAccess="always" allowFullScreen="true" />
</object>
<div style="margin:0;text-align:center;width:480px;font-family:Arial,sans-serif;font-size:12px;color:#FF9B00;">
<a href="http://g4tv.com/games/trailers/" style="color:#FF9B00;" target="_blank">Game Trailers</a> -
<a href="http://g4tv.com/e32011" style="color:#FF9B00;" target="_blank">E3 2011</a></div>


Here is a link to the website & Video:
http://g4tv.com/videos/50499/The-MMO...l-Bag-Special/

your24hourstore 12-27-2010 01:52 PM

Goto admincp/vbulletin cms
goto widget then create new widget , at top it will have some options use Static HTML as widget type

drop that code in that and save it as whatever you want to name it were it says
Title

ok now its created and you can add it to your front page in layouts

jimfries 12-27-2010 09:16 PM

That could work, however is there a way to be able to post it into an Article for the front page? I use vBulletin Suite, and do constant updates for news on the front page.

TheLastSuperman 12-27-2010 09:22 PM

Quote:

Originally Posted by jimfries (Post 2139807)
That could work, however is there a way to be able to post it into an Article for the front page? I use vBulletin Suite, and do constant updates for news on the front page.

Create a custom BB Code :cool:

More info here: http://www.vbulletin.com/docs/html/main/bbcode_intro

jimfries 12-27-2010 09:59 PM

Thank you, I got it to work.

My end goal here, and something I still need to get fixed, is to have it appear as the YouTube video's appear, where they can be watched without having to expand the post.

You can see what I mean at my website: www.distortedguild.com

TheLastSuperman 12-27-2010 10:07 PM

Quote:

Originally Posted by jimfries (Post 2139832)
Thank you, I got it to work.

My end goal here, and something I still need to get fixed, is to have it appear as the YouTube video's appear, where they can be watched without having to expand the post.

You can see what I mean at my website: www.distortedguild.com

I tried to take a quick look however it's a private board so no luck here :(.

jimfries 12-27-2010 11:22 PM

I thought I had the homepage articles authorized for unregistered users. I logged out and was able to view the homepage and the articles.

shooptek 12-28-2010 03:13 AM

Worked fine for me, not logged in.

Custom BB codes are great. Useful for embedding many custom widgets from other sides, and using the {param} function is awesome! Especially for custom sized youtube, soundcloud, bancamp etc widgets.

jimfries 12-28-2010 03:30 AM

Right, it is working, but the users have to go to the articles page. My goal is to be able to view the video from the front page, without having to go to the article page.

shooptek 12-28-2010 03:59 PM

I didnt have to make any extra clicks. All I did was hit the link, and click the YouTube video and it played just fine for me. Maybe I am mis-understanding what you mean...


All times are GMT. The time now is 10:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00995 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete