Hany
New Member
Posts: 38
inherit
268175
0
Nov 22, 2024 12:03:03 GMT -8
Hany
38
July 2023
07770777
|
Post by Hany on Nov 17, 2024 4:21:09 GMT -8
Hi everyone.
How can I embed a google drive video in my thread? It always shows a s a link, embed when I embed it, it does not work thanks in advance
|
|
#FF6600
Apprentice of the Universe
42712
0
1
Apr 22, 2024 6:04:54 GMT -8
đļSossityđļ
24,119
May 2005
nhs5
|
Post by đļSossityđļ on Nov 17, 2024 8:02:27 GMT -8
Hi everyone. How can I embed a google drive video in my thread? It always shows a s a link, embed when I embed it, it does not work thanks in advance Hi Proboards offer embed options for Google documents, spreadsheets, forms, and presentations, but currently, do not have a Google Drive video embed option. *You could try this option: support.proboards.com/post/7294527/thread
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 18, 2024 5:24:40 GMT -8
I cannot view any posts on that forum to determine what URL formats any attempts have used. The plugin you linked came preconfigured for an URL of the form: https://drive.google.com/file/d/0B5JnHW78Xb3NM0ZhbWtVdTRDNGM/preview?resourcekey=0-jlGgFcJjtEzyTDyHNIHWmQ. And the plugin installed on your forum still carries that configuration If you are using a URL that does not match that format, I would need to see the format of the URL you are attempting to use in order to offer any competent help.
|
|
Hany
New Member
Posts: 38
inherit
268175
0
Nov 22, 2024 12:03:03 GMT -8
Hany
38
July 2023
07770777
|
Post by Hany on Nov 18, 2024 5:43:58 GMT -8
Hi Chris thank you for your quick response, as usual This is the link drive.google.com/file/d/1psm_KJrPo85f_42mx-ZPRiKU_rMrRIAE/view?usp=drive_linkand this is the embed code <iframe src="https://drive.google.com/file/d/1psm_KJrPo85f_42mx-ZPRiKU_rMrRIAE/preview" width="640" height="480" allow="autoplay"></iframe> None of them works as copy and paste or when inserting the link in the video box or in the code box
|
|
Hany
New Member
Posts: 38
inherit
268175
0
Nov 22, 2024 12:03:03 GMT -8
Hany
38
July 2023
07770777
|
Post by Hany on Nov 18, 2024 10:47:00 GMT -8
I also have 2 plugins with the same name "View in Post."
Does it cause any cinflicts?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 18, 2024 11:19:23 GMT -8
Hi Chris thank you for your quick response, as usual This is the link drive.google.com/file/d/1psm_KJrPo85f_42mx-ZPRiKU_rMrRIAE/view?usp=drive_linkand this is the embed code <iframe src="https://drive.google.com/file/d/1psm_KJrPo85f_42mx-ZPRiKU_rMrRIAE/preview" width="640" height="480" allow="autoplay"></iframe> None of them works as copy and paste or when inserting the link in the video box or in the code box This is the existing plugin data I can see when viewing the forum: proboards.plugin._plugins["document_seeker"] = { version: "0.0.8", settings: { "allowedDomains": [{ "hostname": "docs.google.com", "path": "pubhtml", "query": "", "sandbox": ["allow-scripts"], "css": " width: 500px;height: 400px;" }, { "hostname": "onedrive.live.com", "path": "embed", "query": "resid=&authkey=", "sandbox": ["allow-same-origin", "allow-scripts", "allow-forms"], "css": "width: 600px;height: 500px;" }, { "hostname": "drive.google.com", "path": "embed", "query": "preview", "sandbox": ["allow-same-origin", "allow-scripts"], "css": "width: 600px;height: 500px;" } ], "options": [] } };
Specifically, the Google Drive entry that has been entered into the plugin is looking for a link that has a host (aka domain) of "drive.google.com" and also must have the word "embed" in the path and the word "preview" in the query part of the URL. Not all of those criteria would result in a match that would then process any of the URLs posted above. The URL in the posted embed code: https://drive.google.com/file/d/1psm_KJrPo85f_42mx-ZPRiKU_rMrRIAE/preview has the appropriate host but no "embed" in the path and no "preview" in the query. If you adjust the entry in the plugin to include the host with both a "file" and "preview" in the path (there is no query part in that URL) that should then correctly identify the link for processing. You do not want to make the criteria too broad, or it may make your users vulnerable to malicious URL crafting from other mischievous users. Identifying other parts of the URL other than the host makes that less likely to occur. I also have 2 plugins with the same name "View in Post." Does it cause any cinflicts? You should only have one installed or at least enabled at any given time
|
|
Hany
New Member
Posts: 38
inherit
268175
0
Nov 22, 2024 12:03:03 GMT -8
Hany
38
July 2023
07770777
|
Post by Hany on Nov 18, 2024 12:17:38 GMT -8
I am speechless, Chris đšđš
Thanks a million for the provided template.
It works on the desktop view but not in the mobile view.
Any recommendations?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 18, 2024 12:27:55 GMT -8
I am speechless, Chris đšđš Thanks a million for the provided template. It works on the desktop view but not in the mobile view. Any recommendations? Plugins, unfortunately, do not work in mobile view since that view is optimized to present the smallest footprint possible. A mobile user will still have the unconverted link in the post to click if they wish to go to the site and watch it from there.
|
|
Hany
New Member
Posts: 38
inherit
268175
0
Nov 22, 2024 12:03:03 GMT -8
Hany
38
July 2023
07770777
|
Post by Hany on Nov 18, 2024 12:59:40 GMT -8
Thanks again for your time and most appreciated help.
You always save my day.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 18, 2024 13:08:43 GMT -8
You are welcome, and good luck in your embeddable ventures
|
|
Hany
New Member
Posts: 38
inherit
268175
0
Nov 22, 2024 12:03:03 GMT -8
Hany
38
July 2023
07770777
|
Post by Hany on Nov 18, 2024 13:33:38 GMT -8
đˇâī¸đđĒģ
|
|