COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- "size" and "autoplay" parameters does NOT work for Youku.com
"size" and "autoplay" parameters does NOT work for Youku.com
- baijianpeng
-
Topic Author
- Offline
- Junior Member
Less
More
9 years 9 months ago - 9 years 9 months ago #145808
by baijianpeng
www.joomlagate.com
Chinese Joomla! Users Portal
"size" and "autoplay" parameters does NOT work for Youku.com was created by baijianpeng
hi,
Today I tested Allvideos plugin v4.7.0 on Joomla 3.4.3, with an online video from the provider Youku.com which located in China.
For example, there is one video:
I used following tag:
And then I found out that this video played in bigger size and NOT autoplayed.
Could you please check this by make the same test on your side?
If you can confirm that this is a bug, please fix it.
Thank you.
Today I tested Allvideos plugin v4.7.0 on Joomla 3.4.3, with an online video from the provider Youku.com which located in China.
For example, there is one video:
http://v.youku.com/v_show/id_XMTI4NjYyNjU0MA==.html
I used following tag:
{youku}id_XMTI4NjYyNjU0MA==.html|320|240|1{/youku}
And then I found out that this video played in bigger size and NOT autoplayed.
Could you please check this by make the same test on your side?
If you can confirm that this is a bug, please fix it.
Thank you.
www.joomlagate.com
Chinese Joomla! Users Portal
Last edit: 9 years 9 months ago by baijianpeng.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 9 months ago #145819
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic "size" and "autoplay" parameters does NOT work for Youku.com
Hi,
Is there a link to the page with the issue?
Is there a link to the page with the issue?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- baijianpeng
-
Topic Author
- Offline
- Junior Member
9 years 9 months ago #145829
by baijianpeng
www.joomlagate.com
Chinese Joomla! Users Portal
Replied by baijianpeng on topic "size" and "autoplay" parameters does NOT work for Youku.com
hi, I did the test on my XAMPP localhost server, so you can not access that page.
Why not just test on your Joomla testing website? Just use the URL and code I mentioned in former post. I think you will reproduce this issue.
Why not just test on your Joomla testing website? Just use the URL and code I mentioned in former post. I think you will reproduce this issue.
www.joomlagate.com
Chinese Joomla! Users Portal
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 9 months ago #145857
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic "size" and "autoplay" parameters does NOT work for Youku.com
Because i have already tested and it works fine for me.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- baijianpeng
-
Topic Author
- Offline
- Junior Member
9 years 9 months ago #145906
by baijianpeng
www.joomlagate.com
Chinese Joomla! Users Portal
Replied by baijianpeng on topic "size" and "autoplay" parameters does NOT work for Youku.com
But I still can not see the width and height parameter take effect.
Let me explain my test in detail:
On a clean installation of Joomla 3.4.3, I installed Allvideos plugin v4.7.0. No any other 3rd party extension installed. The frontend template is the default Protostar. This is a "clean" testing environment, right?
Then I enalbed Allvideos plugin, without touching its any options. So it will works under default settings.
Then I inserted following code into my article (the default sample article of course):
Then I refreshed the frontend article page and see the video player, the size is very big, about 640px in width, and 320px in height. Very weird, right?
I checked the source code of the page, there is following code:
You can see that in above code, my custom size 320*240 was used, but why the video screen shows up so BIG ?
Ok, next, I inspected this video player with Firebug, got following code:
Above CSS was in this file: /plugins/content/jw_allvideos/jw_allvideos/tmpl/Responsive/css/template.css , you know it is from Allvideos plugin itself, not my custom CSS.
If I turn off the height and width line in above code with Firebug, I can see that the video player then shrinked to the correct size I had set in the syntax code.
I think, maybe those "100% !important" code is the cause.
I did this test in FireFox browser v39.0 .
You said that everything is OK, why I got different result?
Could you please check my test again and tell me what did I missed?
Thank you.
Let me explain my test in detail:
On a clean installation of Joomla 3.4.3, I installed Allvideos plugin v4.7.0. No any other 3rd party extension installed. The frontend template is the default Protostar. This is a "clean" testing environment, right?
Then I enalbed Allvideos plugin, without touching its any options. So it will works under default settings.
Then I inserted following code into my article (the default sample article of course):
{youku}id_XMTI4NjYyNjU0MA==.html|320|240|1{/youku}
Then I refreshed the frontend article page and see the video player, the size is very big, about 640px in width, and 320px in height. Very weird, right?
I checked the source code of the page, there is following code:
<!-- JoomlaWorks "AllVideos" Plugin (v4.7.0) starts here -->
<div class="avPlayerWrapper avVideo">
<div class="avPlayerContainer">
<div id="AVPlayerID_0_509c53a2381deb32637a6e8f621dc744" class="avPlayerBlock">
<object type="application/x-shockwave-flash" style="width:320px;height:240px;" data="http://player.youku.com/player.php/sid/XMTI4NjYyNjU0MA==/v.swf" title="JoomlaWorks AllVideos Player">
<param name="movie" value="http://player.youku.com/player.php/sid/XMTI4NjYyNjU0MA==/v.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#010101" />
<param name="autoplay" value="true" />
<param name="loop" value="false" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="sameDomain" />
</object>
</div>
</div>
</div>
<!-- JoomlaWorks "AllVideos" Plugin (v4.7.0) ends here -->
You can see that in above code, my custom size 320*240 was used, but why the video screen shows up so BIG ?
Ok, next, I inspected this video player with Firebug, got following code:
.avVideo .avPlayerContainer .avPlayerBlock iframe, .avVideo .avPlayerContainer .avPlayerBlock object, .avVideo .avPlayerContainer .avPlayerBlock embed, .avVideo .avPlayerContainer .avPlayerBlock video, .avVideo .avPlayerContainer .avPlayerBlock > div {
height: 100% !important;
left: 0;
min-width: 320px !important;
position: absolute !important;
top: 0;
width: 100% !important;
}
Above CSS was in this file: /plugins/content/jw_allvideos/jw_allvideos/tmpl/Responsive/css/template.css , you know it is from Allvideos plugin itself, not my custom CSS.
If I turn off the height and width line in above code with Firebug, I can see that the video player then shrinked to the correct size I had set in the syntax code.
I think, maybe those "100% !important" code is the cause.
I did this test in FireFox browser v39.0 .
You said that everything is OK, why I got different result?
Could you please check my test again and tell me what did I missed?
Thank you.
www.joomlagate.com
Chinese Joomla! Users Portal
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 9 months ago #145943
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic "size" and "autoplay" parameters does NOT work for Youku.com
You are using the "responsive" layout. That's why it get's all the available space. If you want to have fixed width then you should not use the responsive template.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- baijianpeng
-
Topic Author
- Offline
- Junior Member
9 years 9 months ago #145960
by baijianpeng
www.joomlagate.com
Chinese Joomla! Users Portal
Replied by baijianpeng on topic "size" and "autoplay" parameters does NOT work for Youku.com
OK, you are right, after I switch to "classic" layout, my custom size worked.
Thank you.
Thank you.
www.joomlagate.com
Chinese Joomla! Users Portal
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 8 months ago #146027
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic "size" and "autoplay" parameters does NOT work for Youku.com
You are welcome.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- "size" and "autoplay" parameters does NOT work for Youku.com