function shareGfycat() {
  if (shareUrl.textContent === "") {
    var url = videoPlayerInstance.source();
    bar = setupProgressBar();
    socket.emit("share.gfycat", { url: url });
  }
}
/**
 * shareGfycat - Sends a socket containing the url for the processed and uploaded video
 * In the back-end, while this is uploaded to Gfycat, a progress bar is shown and updated
 * incrementally with Socket packets containing the percentage. After the upload is complete
 * the progressbar is destroyed and the url is shown.
 *
 * @see setupProgressBar
 * @see updateProgressBar
 * @see completeShare
 *
 */
Sends a socket containing the url for the processed and uploaded video
In the back-end, while this is uploaded to Gfycat, a progress bar is shown and updated
incrementally with Socket packets containing the percentage. After the upload is complete
the progressbar is destroyed and the url is shown.


Sends a socket containing the url for the processed and uploaded video In the back - end while this is uploaded to Gfycat a progress bar is shown and updated incrementally with Socket packets containing the percentage . After the upload is complete the progressbar is destroyed and the url is shown .
function shareGfycat() {
  if (shareUrl.textContent === "") {
    var url = videoPlayerInstance.source();
    bar = setupProgressBar();
    socket.emit("share.gfycat", { url: url });
  }
}
function shareGfycat ( ) { if ( shareUrl . textContent === "" ) { var url = videoPlayerInstance . source ( ) ; bar = setupProgressBar ( ) ; socket . emit ( "share.gfycat" , { url : url } ) ; } }
shareGfycat - Sends a socket containing the url for the processed and uploaded video
 In the back-end, while this is uploaded to Gfycat, a progress bar is shown and updated
 incrementally with Socket packets containing the percentage.
shareGfycat - Sends a socket containing the url for the processed and uploaded video In the back - end while this is uploaded to Gfycat a progress bar is shown and updated incrementally with Socket packets containing the percentage .