-
AuthorPosts
-
okkhalid Friend
okkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
May 12, 2014 at 3:42 am #197641Hello,
Great job on the JA Decor. what an amazing theme.Just 2 small things I have.
1) I have replaced the video-cover image with mine, but now I can not see the play button any more.
in your demo: http://www.joomlart.com/demo/#ja_decor
when the mouse over the image there is small white play icon shows.
please see the attached image p.PNG2) when someone open the video it opens in a full page popup.
1- I would like to change the page background to black
2- X mark, I would like to change it to white color.
In this way people will think this is a part of the theme. now the white page indicates that its new page and people may close the browser.3) can I use vimo video there instead the ugly youtube player.
Thank you.
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 13, 2014 at 8:24 am #534820This is a custom HTML module so before adding content into this module, please try going to Global configuration in backend and turn off Default Editor first. Because default editor oftens strips tags in the content.
Here is content in demo site:
<div class="video-wrapper grid-2x2">
<img class="video-cover" src="images/joomlart/demo/video-cover.jpg" alt="" />
<a class="video-play-icon" href="#"><i class="fa fa-play-circle-o"></i></a>
<iframe width="560" height="315" src="//www.youtube.com/embed/nz7sxt9xeJE" frameborder="0" allowfullscreen></iframe>
</div>
Regarding the popup, you can create a new css file called custom.css in this path: /templates/ja_decor/css. In order to change the background color, you add this css rule into this ‘custom.css’ file:
#iframe-video-wrap {
background: #000 !important;
}
To change the color of the ‘X’ close button, you add this rule:
#iframe-video-wrap .btn {
color: #fff !important;
}
And yes, you can use Vimeo video, just add the embeded video code into content of module, for example:
<div class="video-wrapper grid-2x2">
<img class="video-cover" src="images/joomlart/demo/video-cover.jpg" alt="" />
<a class="video-play-icon" href="#"><i class="fa fa-play-circle-o"></i></a>
<iframe src="//player.vimeo.com/video/83583742" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href="http://vimeo.com/83583742">Disclosure | Grab her</a> from <a href="http://vimeo.com/divisionparis">DIVISION</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
</div>okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
May 13, 2014 at 5:46 pm #534938Great thank you million. it worked. 🙂
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 14, 2014 at 12:56 am #534998Glad it helped 🙂
msilac Friendmsilac
- Join date:
- October 2010
- Posts:
- 548
- Downloads:
- 2
- Uploads:
- 74
- Thanks:
- 115
- Thanked:
- 5 times in 1 posts
June 2, 2014 at 8:04 am #537370Is there a chance that this video pop up in floatig window, not in new window…
like this for example: https://play.google.com/store/apps/details?id=com.sudsoftware.floatingyoutubepopupplayer
Thank you
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 3, 2014 at 7:51 am #537553I’m afraid that you must customize the code or using 3rd party extension for popup there.
At this moment, you can add some css style for the popup view:
#iframe-video-wrap {
width: inherit;
height: auto;
top: 300px;
left: 400px;
}
then change to the value as you wish.
palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
July 15, 2014 at 5:42 pm #542457…and guys!
What is the magic to get it played in fullscreen (or even in its best resolution e.g. 480p instead of 360p)?
rel=0 would do the job but not working for me.
&hd=1 may set HD if there is but does not work with 360p to get 480p
autoplay is the only trick what is working…
http://www.youtube.com/embed/x1x2x3?rel=0&autoplay=1
Here I found some hints but…Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 16, 2014 at 8:25 am #542533In this custom HTML module, it embeded video in iframe, you can try to set the size for the video: http://prntscr.com/436jtb
1 user says Thank You to Saguaros for this useful post
palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
July 16, 2014 at 10:30 am #542561I am afraid that if I give exact dimensions it will show just a part on a 120*160 feature phone 😉
Ok, seriously it will not be responsive but would also show just a part on smaller screens… right?
I was thinking of a simple way not js what may solve it.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 20, 2014 at 3:04 pm #542918In mobile view, you can use media jQuery to add specific style for the iframe like below workaround:
– Go to file: /templates/ja_decor/css/custom.css (if this file doesn’t exist, you can create it).
– Add this css rule:
@media screen and (max-width: 768px) {
#iframe-video-wrap .video-container > iframe {
width: 100%;
}
-
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 4 voices, and was last updated by Saguaros 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum