Skip to content

harshavardhana/minio-go-media-player

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minio Go Mp3 player.

HTML5 based media player using Minio-Go library.

Prerequisites

$ go get github.com/minio/minio-go

Downloading the sample code

Run the sample code

  1. Set Access key and Secret key

    On Linux, OS X or Unix:

    export AWS_ACCESS_KEY='your-access-key'
    export AWS_SECRET_KEY='your-secret-key'
    

    On Windows:

    set AWS_ACCESS_KEY=your-access-key
    set AWS_SECRET_KEY=your-secret-key
    
  2. Execute the following commands

    go run player-minio.go -b <bucket-name>
    
  • -b sets the bucket name , and its mandatory.

  • -e sets the endpoint, defaults to s3.amazonaws.com.

    • Set the endpoint to localhost:9000 for using with Minio server running locally.

    • set it to the ip address of the host if Minio server is run remotely.

  • -i sets the enable_insecure flag. It is set to false by default. It is set to true only for insecure connection.

Additional Links

About

HTML 5 Media player using Minio-go library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.4%
  • Go 41.6%