- Posts: 4
COMMUNITY FORUM
YouTube Video heigth
- Derek Davis
- Topic Author
- Offline
- New Member
Less
More
10 years 10 months ago #137497
by Derek Davis
YouTube Video heigth was created by Derek Davis
Hi,
I am trying to embed a YouTube video in the IntroText of an item but when I view the item I Have 2 problems:
1. If FullText is set to show I cannt see IntroText (If I hide FullText then IntroText display)
2. I am embeding a Youtube video in the IntroText but the height of the video changes when I open the item. I am able to manipulate the width but not the height for some reason. Where in the code must I make a chage to fix this? Here is my embed code :
<object width="480" height="295"><param name="movie" value="www.youtube.com/v/J6SESEXGCkE&hl=en_US&fs=1" />
<p><embed src="www.youtube.com/v/J6SESEXGCkE&hl=en_US&fs=1" type="application/x-shockwave-flash" width="480" height="295" />
Here is the item: belize.newstotality.com/index.php/component/k2/item/664-trio-murder
I have also tried in the FullText area with the same result
Thank You,
Derek
I am trying to embed a YouTube video in the IntroText of an item but when I view the item I Have 2 problems:
1. If FullText is set to show I cannt see IntroText (If I hide FullText then IntroText display)
2. I am embeding a Youtube video in the IntroText but the height of the video changes when I open the item. I am able to manipulate the width but not the height for some reason. Where in the code must I make a chage to fix this? Here is my embed code :
<object width="480" height="295"><param name="movie" value="www.youtube.com/v/J6SESEXGCkE&hl=en_US&fs=1" />
<p><embed src="www.youtube.com/v/J6SESEXGCkE&hl=en_US&fs=1" type="application/x-shockwave-flash" width="480" height="295" />
Here is the item: belize.newstotality.com/index.php/component/k2/item/664-trio-murder
I have also tried in the FullText area with the same result
Thank You,
Derek
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #137498
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic YouTube Video heigth
Hello derek,
1. Have you specified an Introtext using your editor's read more button, or by using two different editors?
2. Please use AllVideos fro youtube videos.
It is already styled and it comes bundled with the quickstart package.
1. Have you specified an Introtext using your editor's read more button, or by using two different editors?
2. Please use AllVideos fro youtube videos.
It is already styled and it comes bundled with the quickstart package.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Derek Davis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 10 months ago #137499
by Derek Davis
Replied by Derek Davis on topic YouTube Video heigth
I believe im using 2 different editors in the joomla backend.
I would use All video if I were creating the articles manually but I'm actually scraping them from RSS feeds using a joomla component. That component creates tha embed code.
I also realize that this may be a K2 problem and not a template problem but do you know of any mods I could do to view the video properly?
Thanks,
Derek
I would use All video if I were creating the articles manually but I'm actually scraping them from RSS feeds using a joomla component. That component creates tha embed code.
I also realize that this may be a K2 problem and not a template problem but do you know of any mods I could do to view the video properly?
Thanks,
Derek
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #137500
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic YouTube Video heigth
Sure,
Use this snippet in your template's custom.css.
It will now stretch from end to end and it will have a min height of 295px; You can safely increase that height as well.
I also see you have changed the settings and both the introtext and the fulltext are now visible.
I can see the item properly now.
Btw. which aggregator component are you using?
Use this snippet in your template's custom.css.
.itemBody embed, .itemBody object { min-width: 100%; min-height: 295px; }
It will now stretch from end to end and it will have a min height of 295px; You can safely increase that height as well.
I also see you have changed the settings and both the introtext and the fulltext are now visible.
I can see the item properly now.
Btw. which aggregator component are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Derek Davis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 10 months ago #137501
by Derek Davis
Replied by Derek Davis on topic YouTube Video heigth
The fulltext still does not show if I enable both. Thanks alot for your help. I use the joomla extension: 3dwebdesign.org/joomla-scraper
It basically does the same thing as this one: extensions.joomla.org/extensions/social-web/social-edition/automatic-articles/13573 which is free but it was not working for me on joomla 3.2 and even when I tried 2.5 it threw many php errors.
I found this other one after which seems to be better but it doesnt support youtube feeds and is more expensive: foobla.com/joomla/obgrabber
Thanks again,
Derek
It basically does the same thing as this one: extensions.joomla.org/extensions/social-web/social-edition/automatic-articles/13573 which is free but it was not working for me on joomla 3.2 and even when I tried 2.5 it threw many php errors.
I found this other one after which seems to be better but it doesnt support youtube feeds and is more expensive: foobla.com/joomla/obgrabber
Thanks again,
Derek
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #137502
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic YouTube Video heigth
Interesting. I will look into that extension, thank you for sharing.
I had issues with Feedgator myself too.
In item.php a check is present and checks whether the fulltext is empty. It could be related on how the extension strores the articles.
In this version I am omitting this check (you don't probably need in your implementation).
I had issues with Feedgator myself too.
In item.php a check is present and checks whether the fulltext is empty. It could be related on how the extension strores the articles.
In this version I am omitting this check (you don't probably need in your implementation).
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.