Merge pull request #5236 from nurbek91/soundcloud

Add SoundCloud / widget
main
Elbert Alias 3 years ago committed by GitHub
commit cb36a54970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,14 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1842_25)">
<path d="M0 21.6929C0 22.09 0.143962 22.3903 0.431834 22.5938C0.719719 22.7973 1.02746 22.8693 1.35505 22.8097C1.66277 22.7502 1.8787 22.641 2.00282 22.4821C2.12689 22.3233 2.18896 22.0602 2.18896 21.6929V17.3747C2.18896 17.0669 2.08225 16.8063 1.8688 16.5929C1.6554 16.3794 1.39482 16.2727 1.08705 16.2727C0.789236 16.2727 0.53362 16.3794 0.320179 16.5929C0.106739 16.8063 0 17.0669 0 17.3747V21.6929ZM3.42485 23.5394C3.42485 23.8273 3.52661 24.0432 3.7301 24.1871C3.93362 24.3311 4.19423 24.4031 4.51186 24.4031C4.83945 24.4031 5.10499 24.3311 5.30851 24.1871C5.512 24.0432 5.61378 23.8273 5.61378 23.5394V13.4733C5.61378 13.1755 5.50703 12.9199 5.29362 12.7064C5.08018 12.493 4.8196 12.3863 4.51186 12.3863C4.21406 12.3863 3.9584 12.493 3.745 12.7064C3.53155 12.9199 3.42485 13.1755 3.42485 13.4733V23.5394ZM6.83481 24.0159C6.83481 24.3038 6.93904 24.5197 7.14751 24.6636C7.35597 24.8076 7.62401 24.8796 7.95164 24.8796C8.26928 24.8796 8.52986 24.8076 8.73336 24.6636C8.93688 24.5197 9.03865 24.3038 9.03865 24.0159V14.8283C9.03865 14.5206 8.93191 14.2575 8.7185 14.0391C8.50506 13.8208 8.24945 13.7116 7.95164 13.7116C7.64387 13.7116 7.38082 13.8208 7.16243 14.0391C6.94405 14.2575 6.83484 14.5206 6.83484 14.8283V24.0159H6.83481ZM10.2597 24.0605C10.2597 24.6066 10.627 24.8796 11.3616 24.8796C12.0962 24.8796 12.4634 24.6066 12.4634 24.0605V9.16991C12.4634 8.33603 12.2103 7.8645 11.704 7.75529C11.3764 7.67587 11.0538 7.77018 10.7361 8.03821C10.4185 8.30624 10.2596 8.68346 10.2596 9.1699V24.0605H10.2597ZM13.7441 24.4924V8.29136C13.7441 7.77516 13.898 7.46742 14.2057 7.36813C14.8708 7.20931 15.531 7.12988 16.1862 7.12988C17.705 7.12988 19.1196 7.48726 20.43 8.20201C21.7403 8.91676 22.8001 9.8921 23.6091 11.128C24.4182 12.364 24.8872 13.7264 25.0163 15.2155C25.6218 14.9574 26.2671 14.8284 26.952 14.8284C28.3418 14.8284 29.5306 15.3198 30.5183 16.3025C31.5061 17.2854 32 18.4667 32 19.8466C32 21.2364 31.5061 22.4226 30.5183 23.4054C29.5306 24.3882 28.3468 24.8796 26.9669 24.8796L14.0121 24.8647C13.9227 24.8349 13.8557 24.7803 13.811 24.7009C13.7663 24.6215 13.7441 24.5519 13.7441 24.4924V24.4924Z" fill="url(#paint0_linear_1842_25)"/>
</g>
<defs>
<linearGradient id="paint0_linear_1842_25" x1="16.0342" y1="7.61285" x2="16.0342" y2="24.5253" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF8800"/>
<stop offset="1" stop-color="#FF3300"/>
</linearGradient>
<clipPath id="clip0_1842_25">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -2993,6 +2993,24 @@
"saas": true,
"website": "https://sotoon.ir"
},
"SoundCloud": {
"cats": [
5
],
"description": "SoundCloud widget gives you the ability to upload, manage and share tracks.",
"icon": "SoundCloud.svg",
"dom": "iframe[src*='.soundcloud.com/'], img[src*='.sndcdn.com/']",
"js": {
"SC.Widget.Events.PLAY": ""
},
"saas": true,
"pricing": [
"freemium",
"low",
"recurring"
],
"website": "https://developers.soundcloud.com/docs/api/html5-widget"
},
"SoundManager": {
"cats": [
59