bombbomb / BBCore

A Javascript API to use BombBomb services
4 stars 12 forks source link

Few Helper Method and Better Documentations #9

Open abhijitsinha opened 8 years ago

abhijitsinha commented 8 years ago

Hello

First of all a very impressive plugin - we are using this plugin to integrate few bombbomb stuff into our website.

Few questions -

  1. We have integrated videorecorder to record videos - any way to style the recorder to have custom width and height - I see startVideoRecorder({ target: '#recorderDiv'} can accept parametes for height and width but do not work for me. So currently I have styled it via css - but please let me know if this works.
  2. We have used video list api to fetch videos for users to choose existing bb videos. We see an option to change the pagesize and page no but that does not seems reliable - sometimes videos are not rendered as per your pagesize or sometimes not a single video is being rendered - currently am rendering all the videos for the user - will that cause any isues?
  3. Most of the functions only have success callbacks are there any callbacks for failure - this is important for reliable feedback to the user in case of failures.
  4. Also do you helper method to fetch animated URL liked you have for the videourl(getVideoDeliveryUrl)? Currently am doing this - gifURL = 'https://s3.amazonaws.com/bbemail/PROD/video_thumbs/' + video_id + '.gif'

Can you please let me know your thoughts on this. Thanks