Le tax would apply to Netflix too.

By Jeff John Roberts / Fortune.com
October 25, 2016

Bloomberg via Getty Images

This story originally appeared on fortune.com.

French lawmakers voted in favor of a “YouTube tax” that would apply a 2% levy on all streaming video, and a 10% rate on any online films that are pornographic or capable of inciting violence.

Related: How to Have a Fantasy Day in Mumbai

The proposed tax, which passed France’s National Assembly but requires further approval to become law, would also apply to companies like Netflix and Vimeo, and would be calculated based on subscription or advertising revenue.

Related: Jeff Bezos' Blue Origin Will Take Tourists to Space by 2018

Karine Berger, a French lawmaker, described the measures to the business paper Le Figaro as part of a plan to extract more revenue from “the GAFA” (shorthand for “Google, Amazon, Facebook, Apple”), which she claimed “escaped paying taxes most of the time.” A separate provision would limit the impact of the law on smaller video sites.

Related: This Is Who's to Blame for Your Lost Vacation Days

The proposal comes as part of a larger attempt by European countries to redress what they regard as unfair tactics by U.S. tech giants to avoid paying a fair share of taxes. Currently, France is demanding Apple pay $14.5 billion in allegedly unpaid back taxes—a claim Apple and U.S. lawmakers are stiffly resisting.

In regard to the proposed “YouTube tax,” it’s uncertain how the tax would be collected or administered, and what the criteria would be for designating a video “pornographic” or violent for purposes of the 10% levy. It’s also unclear how the revenue would be used.