Advertisement:

Author Topic: youtube link is not displaying in smf [help]  (Read 15745 times)

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
youtube link is not displaying in smf [help]
« on: November 03, 2013, 04:58:03 AM »
Youtube link is not displaying on smf like other script e.g uloki, wordpress... Any solution to it

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: youtube link is not displaying in smf [help]
« Reply #1 on: November 03, 2013, 05:02:44 AM »
Do you mean the link isn't showing or the video isn't embedding?  If you mean it isn't embedding, which mod are you using?

kat

  • Guest
Re: youtube link is not displaying in smf [help]
« Reply #2 on: November 03, 2013, 05:03:36 AM »
Er... Even if you knew everything there was to know, about this kinda stuff, would you be able to even think of what's going-on, from what you've told us, there?

We're going to need to know what IS happening, what you're expecting to happen, what errors messages you're getting, if any. That kinda stuff.

"Youtube link is not displaying on smf" isn't, really, telling us anything other than "It's not working".

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #3 on: November 03, 2013, 05:56:32 AM »
Do you mean the link isn't showing or the video isn't embedding?  If you mean it isn't embedding, which mod are you using?

instead of showing to click the play icon, it only show link e.g www.youtube.com/2345a
that is what it we show, instead of the video view to click play

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #4 on: November 03, 2013, 05:59:04 AM »
Am using S.m.f 2.6 and wap2 mod1.4

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,192
  • Gender: Male
    • i30 Owners Club
Re: youtube link is not displaying in smf [help]
« Reply #5 on: November 03, 2013, 05:59:51 AM »
Does this happen for all youtube links, or just those that have https:// as their prefix?

Show us a typical link that isn't working on your site.


Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: youtube link is not displaying in smf [help]
« Reply #6 on: November 03, 2013, 06:02:00 AM »
Videos don't embed automatically, you will need to install a mod for that  ;)  Search the mod site for "YouTube" as there are several mods which will do this.  Off the top of my head, Simple Audio Video Embedder, Aeva, YouTube BBC,...

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #7 on: November 03, 2013, 06:22:44 AM »
Videos don't embed automatically, you will need to install a mod for that  ;)  Search the mod site for "YouTube" as there are several mods which will do this.  Off the top of my head, Simple Audio Video Embedder, Aeva, YouTube BBC,...
please can you drop the link to download the mod??


Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #9 on: November 03, 2013, 11:52:28 AM »
Thanx @chalk cat... Have install one of the mods you shared and it works, and please it dont work on my wap2, how wil attach it to my wap2, na wireless_template.php will it be or where?

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: youtube link is not displaying in smf [help]
« Reply #10 on: November 03, 2013, 12:14:22 PM »
The whole idea of WAP is that it keeps pages simple to save on data consumption and embedded videos are highly counter-productive to that.  If any of your users want to view videos from their mobile that suggests they are not concerned about data consumption and would therefore be more likely to use your main forum theme from their smartphone instead.  What I mean to say is I don't think it matters that videos aren't playing in WAP mode.

If you really want videos to display in WAP then you would be better asking on the mod support topic where to apply the code to their templates.  I've no idea since I've never used the WAP mod and none of my members use WAP anyway  ;)

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #11 on: November 03, 2013, 01:08:26 PM »
Alrite thankx

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: youtube link is not displaying in smf [help]
« Reply #12 on: November 03, 2013, 01:11:01 PM »
No problem  :)  I'm going to mark this topic solved now but if you need anything else please just change it back to not solved and carry on posting  :)

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #13 on: November 04, 2013, 02:48:32 AM »
@chalkcat, please i want to add this code to my bbcode, please in which file or theme template wil i locate where the bbcode are found
Code: [Select]
'youtube' => array
('code' => 'youtube', 'before' => '[youtube]', 'after' => '[/youtube]', 'description' => $txt['youtube']),

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,192
  • Gender: Male
    • i30 Owners Club
Re: youtube link is not displaying in smf [help]
« Reply #14 on: November 04, 2013, 03:51:14 AM »
Look at the parse instructions of an existing bbcode modification, eg

http://custom.simplemachines.org/mods/index.php?mod=936


Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #15 on: November 04, 2013, 05:06:09 AM »
That is the mod i use, so the youtube bbcode is n0t there, so i want to add it to it...

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,192
  • Gender: Male
    • i30 Owners Club
Re: youtube link is not displaying in smf [help]
« Reply #16 on: November 04, 2013, 05:55:21 AM »
Quote from: Xpresskonami
... so the youtube bbcode is n0t there, so i want to add it to it...

As I said...

Quote from: Shambles
Look at the parse instructions of an existing bbcode modification ...

It shows where to place the bbcode:


Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #17 on: November 04, 2013, 06:19:25 AM »
Plz explain better

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,192
  • Gender: Male
    • i30 Owners Club
Re: youtube link is not displaying in smf [help]
« Reply #18 on: November 04, 2013, 06:25:06 AM »
You asked this:

Quote from: Xpresskonami
... in which file or theme template wil i locate where the bbcode are found

I showed you how to find out.

The screencap even shows you the name of one of the files you need to edit. Parsing the mod will show you the others.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #19 on: November 05, 2013, 12:49:29 AM »
Admin the code is showing error in my wap2. And it work on the full website

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #20 on: November 05, 2013, 06:11:21 AM »
Any admin should reply my previous message

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: youtube link is not displaying in smf [help]
« Reply #21 on: November 05, 2013, 11:23:59 AM »
Please don't bump your topics within 24 hours.  None of us are paid to do this. 

Admin the code is showing error in my wap2. And it work on the full website

None of us are psychic either  ;)  Would you like to tell us what error is showing?  Most likely you put the code in the wrong place or missed something out, or maybe the mod is just plain incompatible with WAP.  If you attach the file you edited for your WAP here we can take a look at it.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #22 on: November 05, 2013, 11:49:57 AM »
This is the error it show
when i post the youtube link

Not Found
The requested URL /hot-naija-news-gist/hot-new-video-tiwa-savage-ft-don-jazzy-eminado/<iframe style= was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
""allowfullscreen>


please am waiting 4 the reply....

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #23 on: November 05, 2013, 03:51:51 PM »
Am still waiting for reply ADMINS

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,861
    • StoryBB/StoryBB on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #24 on: November 05, 2013, 04:04:09 PM »
And the more you bump to encourage a response, the further down the queue you go.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: youtube link is not displaying in smf [help]
« Reply #25 on: November 05, 2013, 04:13:32 PM »
and if you keep insisting that only responses from ADMINS will do, you'll be waiting a lot longer....

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,861
    • StoryBB/StoryBB on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #26 on: November 05, 2013, 04:13:53 PM »
Especially as there is no badge listed here as 'admins' ;D
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #27 on: November 05, 2013, 11:10:02 PM »
This is the error it show
when i post the youtube link

Not Found
The requested URL /hot-naija-news-gist/hot-new-video-tiwa-savage-ft-don-jazzy-eminado/<iframe style= was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
""allowfullscreen>


please am waiting 4 the reply....
.
Reply admins....

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,861
    • StoryBB/StoryBB on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #28 on: November 05, 2013, 11:23:33 PM »
Can't you even wait like 12 hours for a response? We are all volunteers here, doing this in our free time. If you do not have the patience to wait, I do not have the patience to investigate your problem.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #29 on: November 06, 2013, 04:07:59 AM »
Owk I we wait.....

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,861
    • StoryBB/StoryBB on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #30 on: November 06, 2013, 08:21:23 AM »
So what changes did you make to Wireless.template.php exactly?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #31 on: November 07, 2013, 11:37:05 PM »
Have not make any changes to my wireless.template.php, i just discorver that whenever i input any youtube link it we show me this error

Not Found
The requested URL /hot-naija-news-gist/hot-
new-video-tiwa-savage-ft-don-jazzy-eminado/
<iframe style= was not found on this server.
Additionally, a 404 Not Found error was
encountered while trying to use an ErrorDocument to handle the request.
""allowfullscreen>
...

In my wap2 website i.e www.url.com/index.php?wap2

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,861
    • StoryBB/StoryBB on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #32 on: November 07, 2013, 11:47:54 PM »
The actual link would be rather useful.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #33 on: November 08, 2013, 01:42:58 PM »
I want to add a bbcode of the youtube to my template, but i dont kn0w where i can put the bbcode, please where can i locate it in my public_html/Theme/default/which template wil i put it?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,861
    • StoryBB/StoryBB on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #34 on: November 08, 2013, 01:46:46 PM »
So you want some help fixing one problem but don't provide the information requested in order to help you, and then try to create another problem. I can't help you if you keep doing this.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Xpresskonami

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: youtube link is not displaying in smf [help]
« Reply #35 on: November 08, 2013, 05:30:10 PM »
Have tell you my problem, but i don't see solution to my problem i tell y0u, and you said, you can't help again... Why??

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: youtube link is not displaying in smf [help]
« Reply #36 on: November 09, 2013, 12:23:42 AM »
Have tell you my problem, but i don't see solution to my problem i tell y0u, and you said, you can't help again... Why??

So you want some help fixing one problem but don't provide the information requested in order to help you, and then try to create another problem. I can't help you if you keep doing this.

Does the bold help you understand? You are not giving any of the needed information.
IchBin™        TinyPortal
Coding Guidelines       

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,573
  • Gender: Male
    • Kindred-999 on GitHub
Re: youtube link is not displaying in smf [help]
« Reply #37 on: November 11, 2013, 04:44:26 PM »
OK...

Since I am the closest thing you'll find to an "admin" of this site (for the moment)

1- stop bumping your posts. The next time you bump a post before 24 hours have passed, you will get moderated. The time after that, you will get post banned.
2- it has already been explained to you that there are no "admins" on this site.   You actually had the attention of one of the primary DEVELOPERS of the software until you blew it by ignoring his attempts to help you.
3- we can't help you unless oyu actually ANSWER the questions posed to you. When one of us asks you a question, it is not for OUR benefit...   so, try to answer fully and completely, not with a one line, throw away comment.
4- Don't start asking questions about a second issue when you haven't even resolved your first issue.


5- your error seems ot indicate that you screwed up the installation of the youtube mod.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.