0
I’m creating software that runs the video at a 90º angle. I’m using axWindowsMediaPlayer (plugin provided by winform).
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RotationVideo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
OpenFileDialog fileOpened = new OpenFileDialog();
if (fileOpened.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
textBox1.Text = fileOpened.FileName;
axWindowsMediaPlayer1.URL = textBox1.Text;
axWindowsMediaPlayer1.Ctlcontrols.play();
}
}
}
}
I don’t believe this is possible with this component in a Windowsforms application
– Leandro Angelo
I imagine it is to display on televisions vertically. In this case, you can rotate the computer image and not the component.
– Rovann Linhalis