vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Looking for Youtube in My Articles (https://vborg.vbsupport.ru/showthread.php?t=322498)

justasiam 05-01-2016 11:29 PM

Looking for Youtube in My Articles
 
I have searched this entire site and either I am blind or this does not exist.

I am in the process of adding a lot of articles to my vB 4.2.3 suite and do not see any native options to display Youtube videos.

I installed the MarkFL - Fluid Youtube-Vimeo Video BBCodes v1.5 mod and it works ok, but it displays strangely in my layout.

What I am looking for is a mod that allows me to just post the youtube link and have it display a player automatically. I saw a couple of mods that did this, but they only do it in the forums. I need it in the CMS Articles.

Ideas?

MarkFL 05-01-2016 11:38 PM

Hello!

Can you give me a link to one of your articles with a video using my BBCode so I can see what's going on and offer you a solution that looks like you want?

justasiam 05-01-2016 11:44 PM

<a href="http://www.hidingplace.com/forums/content.php" target="_blank">http://www.hidingplace.com/forums/content.php</a>

There are several articles there. The "All heaven Declares" article has a box that displays the video. But the video image is only shows up as a thumbnail inside of the box. When I created the article, I turned off the "Full Display in Section" option, I do not want the entire article to show up here.

That is when this happens.

Scroll down and you will see the "Above All" article. This is displaying the entire article, so the video displays properly. However, scrolling down more, the problem repeats itself on the "10,1000 Reasons" article.

ideas?

MarkFL 05-01-2016 11:59 PM

I only see 2 articles there:
  • Parenting Recipes Do Not Make Good Children
  • Names of God

ForceHSS 05-02-2016 01:25 AM

Nice Christian video there justasiam

MarkFL 05-02-2016 01:58 AM

Okay, now I see the articles, and it appears that there is some native cms CSS interfering.

As a test, try adding the following selector to your "additional.css" template:

HTML Code:

.showpreviewonly iframe {
    float: none !important;
    height: 100% !important;
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
    outline: none !important;
}

If this works, I will add this to the product's CSS so you won't have to have these selector's in your template, nor worry about adding it to each style. :)

justasiam 05-02-2016 03:09 AM

That seems to have worked. Thank you so much.

Now, if only this mod worked on Godtube.com

MarkFL 05-02-2016 03:36 AM

Quote:

Originally Posted by justasiam (Post 2569980)
That seems to have worked. Thank you so much.

Now, if only this mod worked on Godtube.com

Okay...I will update the product so that the CSS is automatically added, so when you import the update, you can remove the CSS you added to you "additional.css" template. It should take me only about 10 minutes or so.

After that, I will look into adding support for godtube.com. :)

--------------- Added [DATE]1462167986[/DATE] at [TIME]1462167986[/TIME] ---------------

Okay, I have made the update. :)

--------------- Added [DATE]1462169616[/DATE] at [TIME]1462169616[/TIME] ---------------

When I view a video on GodTube, and get the embed code, it has a YouTube url...so, I don't know what the deal is there. :)

justasiam 05-02-2016 08:54 PM

GodTube takes from a variety of sources, not just Yourtube.

There was a mod that did this, but it does not work.

https://vborg.vbsupport.ru/showthrea...hlight=godtube


All times are GMT. The time now is 09:29 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.00984 seconds
  • Memory Usage 1,728KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete