Your Account
    Log into your account here:
       Forgot Password

    Not registered? Sign Up for free
    Registration allows you to keep track of all your content and comments, save bookmarks, and post in all our forums.

Video Tag

Subscribe to topic Low Bandwidth

Down to Quick Reply
Displaying Page 1 of 1

Forgoten_Scars Posted: 00:11 Feb01 2016 Post ID: 3400982
Forgoten_Scars
Orbis terrarum est mei
AvatarMember
Posts: 14,835
Post Likes: 28
0
+
I'm having trouble with the video tag here. It's not showing videos on mobile. I own some code on another website that you're free to use in order to fix it. Compared to the current code, this should give video support to all devices, expand multimedia capabilities, and reduce bandwidth for users.

PHP / CSS / Javascript Code;

http://cdn.primeleap.net/files/code.txt

Examples;

http://cdn.primeleap.net/fi...mple.png

Image 1 - A placeholder so the user's browser doesn't have to consume bandwidth contacting a 3rd party unless they want to watch the video. It also tells them the URL.

Image 2 - Shows what happens once they click the placeholder. Scales appropriately depending on the parent div / table.

Images 3 & 4 - Shows this can work on multiple post containers, such as these mobile ones in the image.

Image 5 - Shows this tag's ability to support audio files.

« Last edited by Forgoten_Scars on Feb 1st 2016 »
Reply Quote & ReplyMulti Quote
testuser Posted: 03:19 Feb01 2016 Post ID: 3400990
testuser
and then there will be cake.
AvatarAdmin
Posts: 2,127
Post Likes: 194
0
+
Thanks. I'll have a look into the problem and your code and see what we can do.

If this post is irrelevant to the topic please ignore it.
It may be a test and it may be deleted shortly.


Reply Quote & ReplyMulti Quote
Forgoten_Scars Posted: 01:25 Mar02 2016 Post ID: 3403370
Forgoten_Scars
Orbis terrarum est mei
AvatarMember
Posts: 14,835
Post Likes: 28
0
+
Is it okay for me to remove these files from the CDN subdomain yet, or do you still need them? I should really clean everything soon.
Reply Quote & ReplyMulti Quote
testuser Posted: 03:40 Mar02 2016 Post ID: 3403374
testuser
and then there will be cake.
AvatarAdmin
Posts: 2,127
Post Likes: 194
0
+
Hi, I have the code copied, thank you. Can you update me though, are you having trouble with all the videos on the site on mobile? or ones in the forum?

« Last edited by testuser on Mar 2nd 2016 »

If this post is irrelevant to the topic please ignore it.
It may be a test and it may be deleted shortly.


Reply Quote & ReplyMulti Quote
Forgoten_Scars Posted: 13:07 Mar02 2016 Post ID: 3403399
Forgoten_Scars
Orbis terrarum est mei
AvatarMember
Posts: 14,835
Post Likes: 28
0
+
The ones on the forums are fine now that YouTube videos are processed through an iframe rather than object/parameter. From what I can tell the Playwire ones on the main site still use the object/parameter, so they don't work on mobile.

I know that's not something you can control. Ever since HTML5's introduction of the video tag, it seems like mobile web apps like Firefox stopped trying to support object/parameter and its need for flash. The code I gave you tried to use that video tag, unless the website required an iframe like YouTube.
Reply Quote & ReplyMulti Quote
Displaying Page 1 of 1

Subscribe to topic Low Bandwidth

Currently viewing this thread:
REPLY IN THIS THREAD
You must be logged in to reply:
Username: 
Password:   
Forgot password? Click here to get it resent to you.
Sign Up Register for free.

Users under 13 are not eligible to post on the SuperCheats forums.

Post Top
Click to close