OneAlbatross

Featured Song Player V1

Nov 12th, 2022 (edited)
3,084
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.79 KB | None | 0 0
  1. <!-- ---------------------  CODE BY OneAlbatross  ------------------------
  2. ---- ---------------------------------------------------------------------
  3.  
  4. |[All links, socials, etc]:  https://onealbatross.carrd.co/
  5. |[Tip jar]:  https://ko-fi.com/onealbatross
  6.  
  7. |[How to use Templates - Video Guide by Indianimations]: https://youtu.be/B-X57fmPuPo?t=93
  8.  
  9. |[ Rules ]
  10.        - Modify the code as much as you like but please do not redistribute or claim it as your own.
  11.        - Please DO NOT remove credit regardless of how you edit/Frankenstein the code.
  12.        - Keep WYSIWYG off while adding or editing code
  13.        - Turn "Enable Code Editor" off if you are on mobile to be able to paste.
  14.  
  15. |[ Info ]
  16.    Color Key Index - use these to find and replace (ctrl+f -> "All" button -> type your desired #hex color code or rgba() value)
  17.        - Play Button background: #40b850
  18.        - Play button arrow: rgb(250, 250, 250)
  19.        - Background Overlay Gradient
  20.            - Left side of bg gradient: rgba(17,22,41,1)
  21.            - middle of bg gradient: rgba(17,22,41,.4)
  22.            - Right side of bg gradient: rgba(52,32,111,0)
  23.        - artist link and my code credit icon are set to Bootstrap: text-light
  24.  
  25. |[ Images ]
  26.    To fill in/replace images:
  27.        - your desired image can be anywhere online like a free image website, your Deviantart stash, Discord, or here on Toyhouse
  28.        - right click the image and select "copy image address" (should end in .png, .jpg, .gif, etc - NOT a .webp)
  29.        - paste this web address within areas like url(LINK_HERE) or src="IMG URL HERE"
  30.        
  31.    - Some info on adjusting images can be seen here: https://toyhou.se/4930674](https://toyhou.se/4930674
  32.  
  33. |[ Icons ]
  34.    - Icons used are from FontAwesome.com and you can find more info here: https://toyhou.se/3536712
  35.    
  36. ---------------------------------------------------------------------------
  37. ----------------------------------------------------------------------- -->
  38.  
  39.  
  40.  
  41. <!-- BACKGROUND IMAGE - make sure not to delete the quotes, put your image link inside them ---------------- -->
  42. <div class="mx-auto" style="max-width:500px; background-image: url('https://images.unsplash.com/photo-1503601350100-26336a6beda2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80'); background-position:center; background-size:cover; border-radius:4px">
  43.    
  44.     <div class="mx-auto row" style="width:100%; height:100%; background: linear-gradient(30deg, rgba(17,22,41,1) 25%, rgba(17,22,41,.4) 70%, rgba(52,32,111,0) 100%); border-radius:4px">
  45.  
  46.    
  47.     <div class="" style="max-width:130px; padding:15px;">
  48.        
  49.         <img src="  https://f2.toyhou.se/file/f2-toyhou-se/characters/18738562?1667801640" style="border-radius:0px">
  50.        
  51.     </div>
  52.    
  53.     <div class="pl-2 pb-md-0 pr-2 pb-4">
  54.        
  55.         <p class="mt-2 mt-md-3 mb-1" style="font-weight:400; font-size:1.8rem; z-index:100 !important">Song Title</p>
  56.        
  57.         <div class="row no-gutters " style="z-index:10">
  58.            
  59.             <div class="pl-1 pr-1" style="margin-top:-18p; position:relative; ">
  60. <!-- SONG LINK - Click the share button on a youtube video, click the EMBED button and copy the url between the src="" quotes and paste it in the src="" here (do not just copy paste the url - that's a youtu.be link, it doesn't work)-->
  61. <!-- to get the song to stop and/or start at a specific time, add ?start=0&end=30 to the end of the link - 0 and 30 represent the start and stop time in seconds-->
  62.                    
  63.                    <iframe class="" style="width: 40px; height:200px ; opacity:.01; border:none; position:absolute; z-index:10 !important; margin-top:-56px;" src="https://www.youtube.com/embed/dQw4w9WgXcQ?start=43"></iframe>
  64.  
  65.                    <div class="py-2 px-3" style="height: 40px; width: 40px; background-color: #40b850; border-radius:50%;"><i class="fas fa-play fa-xl " style="color: rgb(250, 250, 250); margin-left:-8px; margin-top:12px"></i>
  66.                    
  67.                    </div>
  68.             </div>
  69.            
  70.             <div class="col"  style="color:white">
  71.                
  72.                 <p class="" style="font-weight:300; font-size:1rem">by <a class="text-light" href="LINK_TO_ARTIST_HERE" style="">artist</a></p>
  73.                 <span style="font-size:85%">
  74. <!-- [[ CODE CREDIT ON THIS LINE - PLEASE DO NOT REMOVE ]] --><a href="https://toyhou.se/OneAlbatross/characters/folder:3801186" class="text-decoration-none text-light" style="font-size:.7rem; " title="Code by OneAlbatross" data-toggle="tooltip" data-placement="bottom" ><i class="fa-solid fa-code"></i></a> <!-- extra info here --> • album • year • length
  75.                 </span>
  76.             </div>
  77.            
  78.         </div>
  79.        
  80.     </div>
  81.        
  82. </div>
  83.  
  84. </div>
Tags: toyhouse
Advertisement
Add Comment
Please, Sign In to add comment