Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Youtubevideo in news

Asked Modified Viewed 2,490 times
L
lifeguard
L
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
asked
Member

Hi,

is it possible to add a youtube video in a news post or blog post?
And is that video responsive?
0 replies

9 posts

R
Rudios
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
answered
Member

It is possible but not responsive to my knowledge:

http://globlr.com//infusions/forum/viewthread.php?thread_id=2
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

In the DEV version, it is responsive
1 reply
R
Rudios
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
answered
Member

Fantastic! :G
0 replies
L
lifeguard
L
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

Thanks guys for the info!
0 replies
E
elbasy
E
elbasy 10
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 20 threads in the forums
answered
Member

http://ovas.club/infusions/news/news....readmore=1

Code=>
iframe width="560" height="315" src="https://www.youtube.com/embed/SSZMwes070c" frameborder="0" allowfullscreen></iframe
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
answered
Senior Member

Iframe must be something like this, try it:
<div> <img class = "img-responsive news-img-center mr-10"> <iframe src = "https://www.youtube.com/embed/SSZMwes070c" allowfullscreen = "width =" 560 "height = "315" frameborder = "0" allowfullscreen = "" width = "560" height = "315" frameborder = "0"> </ iframe>

It's bad looking, you have it in your Botstrap theme page
In addition, the <marquee> tag is out of date for 10 years! It looks different, inaccurate, and disturbing in browsers. Use https://www.php-fusion.co.uk/infusion...don_id=966 Nivo_slider_panel from the PHPFusion adons.
Edited by Kvido on 11-03-2018 10:55,
0 replies
E
elbasy
E
elbasy 10
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 20 threads in the forums
answered
Member

People have a problem from here https://github.com/PHPFusion/PHPFusio...ssues/1964
Problem in core_functions_include.php.
583. $text = descript($text); kills the show
583. //$text = descript($text); the problem is gone.
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
answered
Senior Member

Try if it is not like this:

function parse_textarea($text, $smileys = TRUE, $bbcode = TRUE, $decode = TRUE, $default_image_folder = IMAGES, $add_line_breaks = FALSE) {
    $text = $decode == TRUE ? html_entity_decode(stripslashes($text), ENT_QUOTES, fusion_get_locale('charset')) : $text;
    $text = $decode == TRUE ? html_entity_decode($text, ENT_QUOTES, fusion_get_locale('charset')) : $text;
// decode for double encoding.
    $text = !empty($default_image_folder) ? parse_imageDir($text, $default_image_folder) : $text;
    $text = $smileys == TRUE ? parsesmileys($text) : $text;
    $text = $bbcode == TRUE ? parseubb($text) : $text;
    $text = fusion_parse_user($text);
    $text = $add_line_breaks ? nl2br($text) : $text;
   return (string)$text;
}


583. $text = descript($text); I do not see!
It's a version 9.03
Edited by Kvido on 13-03-2018 14:07,
0 replies
T
Talocha
T
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 10 threads in the forums
answered
Member

I added css in file
\themes\templates\default.css
example code
.embed-container iframe {
width : 100%;
max-width : 600px;
height : 300px;
}

keep in mind that you have to clear the width and height
<div class="embed-container iframe"><iframe src="https://www.youtube.com/embed/KuyBFNXk0SE" frameborder="0" allowfullscreen></iframe></div>

demo example in blog
http://www.cordoba.red/9estable/infus...readmore=1
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 6 members

6 participants

K
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
T
T
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 10 threads in the forums
L
L
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
R
R
Rudios 10
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 16 threads in the forums
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
E
E
elbasy 10
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 20 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet