Skip to content

A player for a Spotify podcast episode to be embedded on html and css

Notifications You must be signed in to change notification settings

andpiazza/spotify_episode_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

spotify_episode_player

A player for a Spotify podcast episode to be embedded on html and css

HTML code

<div class='embed-container'>
    <iframe src='https://embed.spotify.com/?uri=spotify:episode:1ZEli2zi0i4EeNkzh36QYy' frameborder='0' allowtransparency='true'></iframe>
</div>

CSS code

Formats only the player, full width

.embed-container {
    position: relative;
    padding-bottom: 15.5%;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
    /*height: 10px;*/
}
    .embed-container iframe,
    .embed-container object,
    .embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

iFrame Code - Widget implementation

<iframe src="https://open.spotify.com/embed/show/1jCRjU0EzcMftMTYTadoyY" width="250" height="300" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>

References

About

A player for a Spotify podcast episode to be embedded on html and css

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published