Forums

[youtube src=P8K2qO0zVsM]

Quick find code: 278-279-460-65845565

Whos-Dr
Mar Member 2011

Whos-Dr

Posts: 19,957 Opal Posts by user Forum Profile RuneMetrics Profile
You could also use a medium preview image before loading the iframe contents where data is a concern in much the same way that current posted images are only loaded on reveal.
http://img.youtube.com/vi/P8K2qO0zVsM/mqdefault.jpg

(Which is a 15.6KB jpeg file - so typically <20KB, whereas the iframe contents in this same video is 626KB without video playback - or a ~97% reduction)

Also worth mentioning that, because these are under Google/YouTube's CDNs, they have proper caching set up.
Forum Community Helper
- Tech Support
Here to lend a paw with your tech issues.

26-Oct-2016 17:55:41 - Last edited on 26-Oct-2016 17:58:06 by Whos-Dr

Nexus Origin

Nexus Origin

Posts: 21,010 Opal Posts by user Forum Profile RuneMetrics Profile
Absolutely Whos-Dr.

Using "controls=0" does load the flash player before the video is initiated, whereas "controls=2" doesn't load the flash player until the user initiates the playback (but "controls=2" will enable the user controls at the bottom which may present a slightly larger risk due to linking if annotations are turned on in the controls), however your suggestion would be a perfect solution should data usage be a concern to the end users.
_
_
_
_
_________
m
_________
_
_
_
_

McDelivery Now Available In Canada

McDonalds
-
I'm lovin' it.

26-Oct-2016 18:03:08

Nexus Origin

Nexus Origin

Posts: 21,010 Opal Posts by user Forum Profile RuneMetrics Profile
Ah, I see. I'm just going by what is listed in the dev guides. I'm not sure how it decides which player to use (html5 or as3), but it should automatically use the appropriate player based on what your browser supports.

But, either way, a placeholder image would probably be the best way to go (as is done with the imgur embeds) as you have suggested. No point in having the player loaded at all until a user decides that they actually want to view the video.
_
_
_
_
_________
m
_________
_
_
_
_

McDelivery Now Available In Canada

McDonalds
-
I'm lovin' it.

26-Oct-2016 18:29:29

Loggy

Loggy

Forum Moderator Posts: 11,505 Opal Posts by user Forum Profile RuneMetrics Profile
Considering how the imgur integration hasn't turned particularly bad, I don't see any reason to go against this.

Edit: Apparently I can't sentences without missing out words. Oh dear.

26-Oct-2016 18:58:11 - Last edited on 27-Oct-2016 14:44:16 by Loggy

YtHaar-Mej
Dec Member 2005

YtHaar-Mej

Posts: 24,670 Opal Posts by user Forum Profile RuneMetrics Profile
Support :)

Nexus Origin said :
But, either way, a placeholder image would probably be the best way to go (as is done with the imgur embeds) as you have suggested. No point in having the player loaded at all until a user decides that they actually want to view the video.

I agree with lazy loading as well
Can I turn in a paper without citing all sources?
"No."[1]
1. William Shakespeare, Hamlet , Act III, Scene 1, line 96.

27-Oct-2016 00:37:11 - Last edited on 27-Oct-2016 05:26:57 by YtHaar-Mej

Mod Allstar

Mod Allstar

Jagex Moderator Forum Profile Posts by user
It's a nice idea and pretty straight forward however clustering up the forum with every piece of BB code under the sun is probably not the best use of development time.

Adding imgur was great and had some very useful applications and I can imagine there are a fair few to adding videos. Not really my call either way as it would need to go through the CM team to decide if they really want it.

There is not really a technical reason why we could not do it as we would follow a similar approach as we did for imgur.
Senior Web Developer |
@jagexAllstar
| #webMeat

27-Oct-2016 11:47:04

Iceberg
Sep Member 2008

Iceberg

Posts: 20,587 Opal Posts by user Forum Profile RuneMetrics Profile
Mod Allstar said :
It's a nice idea and pretty straight forward however clustering up the forum with every piece of BB code under the sun is probably not the best use of development time.
I wouldn't consider updating the forums to a better standard to be "clustering up the forum". Many internet boards have a plethora of BB codes at their disposal, and I think the more the forums have to offer the more appealing they will be.
… .
_|¯¯¯|_

… …
( '
v
' )
.……
I
C
E
B
E
R
G

>--
(
:
)
--<

27-Oct-2016 12:15:15

Nexus Origin

Nexus Origin

Posts: 21,010 Opal Posts by user Forum Profile RuneMetrics Profile
Mod Allstar said :
It's a nice idea and pretty straight forward however clustering up the forum with every piece of BB code under the sun is probably not the best use of development time.

Adding imgur was great and had some very useful applications and I can imagine there are a fair few to adding videos. Not really my call either way as it would need to go through the CM team to decide if they really want it.

There is not really a technical reason why we could not do it as we would follow a similar approach as we did for imgur.
Thanks for taking the time to address this Allstar. It's always appreciated. :)

So, it's technically possible, fairly straightforward to develop, and it would be useful.

Now all we need to do is convince the CM team that it's worth the effort.

How many votes would we need to get this passed?
_
_
_
_
_________
m
_________
_
_
_
_

McDelivery Now Available In Canada

McDonalds
-
I'm lovin' it.

27-Oct-2016 12:39:32 - Last edited on 27-Oct-2016 12:41:09 by Nexus Origin

Maynne

Maynne

Forum Moderator Posts: 52,416 Emerald Posts by user Forum Profile RuneMetrics Profile
Nexus, I'm basically neutral with the proposal. I'll choose not to moderate video postings, similar how I inhibit from moderating pictures these days. For what its worth, Jagex have to spend a lot of time and labour re-engineering this old forum software just to add new feature -- a feature that has potential to break current features. That is why I am very vocal for scrapping this old forum software in favor of a newer one either in-house coded or opensource to bring RSOF to the 21st century quality it truly deserves.

Mod Allstar said :
It's a nice idea and pretty straight forward however clustering up the forum with every piece of BB code under the sun is probably not the best use of development time.

Adding imgur was great and had some very useful applications and I can imagine there are a fair few to adding videos. Not really my call either way as it would need to go through the CM team to decide if they really want it.

There is not really a technical reason why we could not do it as we would follow a similar approach as we did for imgur.


I agree, I personally don't want you guys to re-engineer this old forum software ad-infinitum everytime a new feature is deemed needed. The only way I believe to move-forward here in RSOF is to have a new software to run it.

27-Oct-2016 18:34:58 - Last edited on 27-Oct-2016 18:35:54 by Maynne

Quick find code: 278-279-460-65845565 Back to Top