Ejemplo n.º 1
0
 /// <summary>
 /// Opens a save file dialog to find wherre to save the video pefore loading FFmpeg
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Download_Click(object sender, EventArgs e)
 {
     Microsoft.Win32.SaveFileDialog findpage = new Microsoft.Win32.SaveFileDialog();
     findpage.Filter      = "Video file | *.mp4";
     findpage.FilterIndex = 1;
     if (findpage.ShowDialog() == true)
     {
         if (!string.IsNullOrEmpty(findpage.FileName))
         {
             StreamExtract.LoadFromBrowser((WFH.Child as WebBrowser).DocumentText, comboBox.Text, true, findpage.FileName);
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Loads VLC
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Stream_Click(object sender, EventArgs e)
 {
     StreamExtract.LoadFromBrowser((WFH.Child as WebBrowser).DocumentText, comboBox.Text, false, null);
 }
Ejemplo n.º 3
0
 private void DownloadButton_Click(object sender, EventArgs e)
 {
     StreamExtract.LoadProgram(QualityComboBox.Text, VideoIDTextBox.Text, HTMLTextBox.Text, URLTextBox.Text, true, DownloadToTextBox.Text);
 }