Question: I'm using bootstrap tabs to toggle between videos in my website but I have a problem. When I click on another tab the video in the first tab keeps playing, so I searched and I could tell that it had something to do with javascript! yeah I don't know any thing about javascript just some html,css,php, and sql but no javascript. so if any one can help me I would really appreciate the help ((I use a lot of video hosting sites like youtube, dailymotion, ok.ru and the lest goes on) if any one can help me with the some code I will really appreciate that!
here is my code

```
<ul class="nav nav-tabs centered">
    <li class="active"><a data-toggle="tab" href="#video1">video 1</a></li>
    <li><a data-toggle="tab" href="#video2">video 2</a></li>
    <li><a data-toggle="tab" href="#video3">video 3</a></li>
</ul>

<div class="tab-content">
    <div id="video1" class="tab-pane fade in active" style="padding:5px">
        <div class="embed-responsive embed-responsive-16by9">
          <iframe class="embed-responsive-item" src="'.$rows['video1'].'" allowfullscreen></iframe>
        </div>
    </div>
    <div id="video2" class="tab-pane fade" style="padding:5px">
        <div class="embed-responsive embed-responsive-16by9">
            <iframe class="embed-responsive-item" src="'.$rows['video2'].'" allowfullscreen></iframe>
        </div>
    </div>
    <div id="video3" class="tab-pane fade" style="padding:5px">
        <div class="embed-responsive embed-responsive-16by9">
            <iframe class="embed-responsive-item" src="'.$rows['video3'].'" allowfullscreen></iframe>
        </div>
    </div>
</div>

```

Thanks in advance

Answer: 
A quick google search yielded the following result:
<https://github.com/mysql-net/MySqlConnector>

Looking at the tests, here's an example connection and query:

```
using (var connection = new MySqlConnection(csb.ConnectionString))
{
    connection.Open();
    using (var cmd = connection.CreateCommand())
    {
        cmd.CommandText = @"select 1;";
        using (var reader = await cmd.ExecuteReaderAsync().ConfigureAwait(false))
        {
            Assert.Equal(true, await reader.ReadAsync().ConfigureAwait(false));
            reader.Dispose();
        }
    }
}

```
You can use [mysql-connector-net-netstandard](https://github.com/SapientGuardian/mysql-connector-net-netstandard).

```
using (var connection = new MySqlConnection(MyConnectionString))
{
    connection.Open();
    // execute query or command
}

```

ASP.NET Core supports any other ORM which work on .NET Core.
You can use [Dapper](https://github.com/StackExchange/dapper-dot-net). 
It's great fast micro ORM.
Dapper uses IDbConnection.

```
public class Dog
{
    public int? Age { get; set; }
    public Guid Id { get; set; }
    public string Name { get; set; }
    public float? Weight { get; set; }

    public int IgnoredProperty { get { return 1; } }
}  

using (var connection = new MySqlConnection(MyConnectionString))
{
    connection.Open();
    var guid = Guid.NewGuid();
    var dog = connection.Query<Dog>("select Age = @Age, Id = @Id", new { Age = (int?)null, Id = guid });
}   

```